From 184a7583f15e2afae41c35fe73676b427e3a19ac Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 16 Jan 2001 21:57:42 +0000 Subject: The bit about sigpending not detecting any errors is a lie, it can return EFAULT. PR: 24360 Submitted by: Kenneth Ingham --- lib/libc/sys/sigpending.2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.1