mirror of https://github.com/mkerrisk/man-pages
pipe.2: Fix error in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7205b8dfd8
commit
25505615fe
|
@ -33,7 +33,7 @@
|
|||
.\" to EXAMPLE text.
|
||||
.\" 2008-10-10, mtk: add description of pipe2()
|
||||
.\"
|
||||
.TH PIPE 2 2012-02-14 "Linux" "Linux Programmer's Manual"
|
||||
.TH PIPE 2 2013-12-08 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
pipe, pipe2 \- create pipe
|
||||
.SH SYNOPSIS
|
||||
|
@ -139,6 +139,7 @@ and the child reads this string a byte at a time from the pipe
|
|||
and echoes it on standard output.
|
||||
.nf
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue