diff --git a/man2/pipe.2 b/man2/pipe.2 index 35aaf2e50..9ac0341cf 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -40,13 +40,6 @@ pipe, pipe2 \- create pipe .nf .B #include .PP -/* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64; see NOTES */ -.B struct fd_pair { -.B " long fd[2];" -.B "};" -.B struct fd_pair pipe(); -.PP -/* On all other architectures */ .BI "int pipe(int " pipefd "[2]);" .PP .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" @@ -54,6 +47,16 @@ pipe, pipe2 \- create pipe .B #include .PP .BI "int pipe2(int " pipefd "[2], int " flags ); +.PP +/* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64, pipe() has the + following prototype; see NOTES */ +.PP +.B #include +.PP +.B struct fd_pair { +.B " long fd[2];" +.B "};" +.B struct fd_pair pipe(); .fi .SH DESCRIPTION .BR pipe ()