pipe.2: Fix error in example program

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Trevor Bramwell 2013-12-08 21:50:32 -08:00 committed by Michael Kerrisk
parent 7205b8dfd8
commit 25505615fe
1 changed files with 2 additions and 1 deletions

View File

@ -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>