diff options
author | ben <ben@FreeBSD.org> | 2001-01-16 21:57:42 +0000 |
---|---|---|
committer | ben <ben@FreeBSD.org> | 2001-01-16 21:57:42 +0000 |
commit | 184a7583f15e2afae41c35fe73676b427e3a19ac (patch) | |
tree | e864816eda049f1e6e541f4e2d5aca3ac19a4c2d /lib | |
parent | 9ccd2574f65031962a06b16344e989810629cfea (diff) | |
download | FreeBSD-src-184a7583f15e2afae41c35fe73676b427e3a19ac.zip FreeBSD-src-184a7583f15e2afae41c35fe73676b427e3a19ac.tar.gz |
The bit about sigpending not detecting any errors is a lie, it can return
EFAULT.
PR: 24360
Submitted by: Kenneth Ingham <ingham@i-pi.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/sigpending.2 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/sys/sigpending.2 b/lib/libc/sys/sigpending.2 index c9d2896..e05d186 100644 --- a/lib/libc/sys/sigpending.2 +++ b/lib/libc/sys/sigpending.2 @@ -62,9 +62,14 @@ indicates an error occurred and .Va errno is set to indicated the reason. .Sh ERRORS -The .Fn sigpending -function does not currently detect any errors. +will fail if: +.Bl -tag -width Er +.It Bq Er EFAULT +The +.Fa set +argument specified an invalid address. +.El .Sh SEE ALSO .Xr sigaction 2 , .Xr sigprocmask 2 |