diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-09-09 06:32:38 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-09-09 06:32:38 +0000 |
commit | 198af366c7d5cac49164527723e1e93fa3c5f254 (patch) | |
tree | e2974a29a6b60bd205ab62860e0ebedd7a23a6c0 /lib/libc/sys/wait.2 | |
parent | 481a6d3c3ad7f8cce3335683aa939511956a5533 (diff) |
Various updates and corrections to SYNOPSIS, ERRORS, and STANDARDS
Mention send(MSG_EOR)
Diffstat (limited to 'lib/libc/sys/wait.2')
-rw-r--r-- | lib/libc/sys/wait.2 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index b18db3b0d9c..c1e8cfe01c1 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wait.2,v 1.26 2014/02/13 07:30:39 guenther Exp $ +.\" $OpenBSD: wait.2,v 1.27 2014/09/09 06:32:37 guenther Exp $ .\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: February 13 2014 $ +.Dd $Mdocdate: September 9 2014 $ .Dt WAIT 2 .Os .Sh NAME @@ -40,13 +40,13 @@ .Nm wait3 .Nd wait for process termination .Sh SYNOPSIS -.Fd #include <sys/wait.h> +.In sys/wait.h .Ft pid_t .Fn wait "int *status" .Ft pid_t .Fn waitpid "pid_t wpid" "int *status" "int options" -.Fd #include <sys/resource.h> -.Fd #include <sys/wait.h> +.In sys/resource.h +.In sys/wait.h .Ft pid_t .Fn wait3 "int *status" "int options" "struct rusage *rusage" .Ft pid_t @@ -283,7 +283,9 @@ The .Fn wait and .Fn waitpid -functions are defined by POSIX; +functions conform to +.St -p1003.1-2008 . +.Pp .Fn wait4 and .Fn wait3 @@ -292,7 +294,7 @@ The .Fn WCOREDUMP macro and the ability to restart a pending .Fn wait -call are extensions to the POSIX interface. +call are extensions to that specification. .Sh HISTORY A .Fn wait |