(main): Add @group...@end group around pipe call and error check.
authorroland <roland>
Mon, 19 Oct 1992 21:54:24 +0000 (21:54 +0000)
committerroland <roland>
Mon, 19 Oct 1992 21:54:24 +0000 (21:54 +0000)
manual/examples/pipe.c

index c0e242e..cf64189 100644 (file)
@@ -34,12 +34,14 @@ main (void)
   pid_t pid;
   int mypipe[2];
 
+/*@group*/
   /* Create the pipe. */
   if (pipe (mypipe))
     {
       fprintf (stderr, "Pipe failed.\n");
       return EXIT_FAILURE;
     }
+/*@end group*/
 
   /* Create the child process. */
   pid = fork ();