summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-14 21:22:10 +0000
committerru <ru@FreeBSD.org>2004-01-14 21:22:10 +0000
commit8eb3bce2502df28a9ecaba98f09cdee00ec60ad0 (patch)
tree30599091c4c1eaadffd6b666b7687bc7e3945bac /lib/libc
parente2d68ddc6e5e0c812d118d02c187ab72f913995b (diff)
downloadFreeBSD-src-8eb3bce2502df28a9ecaba98f09cdee00ec60ad0.zip
FreeBSD-src-8eb3bce2502df28a9ecaba98f09cdee00ec60ad0.tar.gz
The libc_r/man/sigwait.3 manpage has been repocopied to libc/sys/sigwait.2.
Reviewed by: deischen Repocopy by: markm
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/Makefile.inc3
-rw-r--r--lib/libc/sys/sigwait.210
2 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 7c3456d..96b4092 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -78,7 +78,8 @@ MAN+= _exit.2 accept.2 access.2 acct.2 adjtime.2 \
setgroups.2 setpgid.2 setregid.2 setresuid.2 setreuid.2 setsid.2 \
setuid.2 shmat.2 shmctl.2 shmget.2 shutdown.2 \
sigaction.2 sigaltstack.2 sigpending.2 sigprocmask.2 sigreturn.2 \
- sigstack.2 sigsuspend.2 socket.2 socketpair.2 stat.2 statfs.2 \
+ sigstack.2 sigsuspend.2 sigwait.2 \
+ socket.2 socketpair.2 stat.2 statfs.2 \
swapon.2 symlink.2 sync.2 sysarch.2 syscall.2 \
truncate.2 umask.2 undelete.2 \
unlink.2 utimes.2 utrace.2 uuidgen.2 vfork.2 wait.2 write.2
diff --git a/lib/libc/sys/sigwait.2 b/lib/libc/sys/sigwait.2
index 3ff8a52..2c9839a 100644
--- a/lib/libc/sys/sigwait.2
+++ b/lib/libc/sys/sigwait.2
@@ -27,13 +27,13 @@
.\"
.\" $FreeBSD$
.Dd April 27, 2000
-.Dt SIGWAIT 3
+.Dt SIGWAIT 2
.Os
.Sh NAME
.Nm sigwait
.Nd select a set of signals
.Sh LIBRARY
-.Lb libc_r
+.Lb libc
.Sh SYNOPSIS
.In signal.h
.Ft int
@@ -41,7 +41,7 @@
.Sh DESCRIPTION
The
.Fn sigwait
-function selects a set of signals, specified by
+system call selects a set of signals, specified by
.Fa set .
If none of the selected signals are pending,
.Fn sigwait
@@ -67,7 +67,7 @@ Otherwise, an error number is returned.
.Sh ERRORS
The
.Fn sigwait
-function will fail if:
+system call will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa set
@@ -83,4 +83,4 @@ specifies one or more invalid signal numbers.
The
.Fn sigwait
function conforms to
-.St -p1003.1-96
+.St -p1003.1-96 .
OpenPOWER on IntegriCloud