[PATCH] Fix sigismember(3) manpage ambiguity
Garrett Cooper
yanegomi at gmail.com
Mon Jul 19 05:10:26 UTC 2010
CCing hackers at .
On Sun, Jul 18, 2010 at 9:52 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
> The following patch resolves a missing requirement that's defined
> by POSIX 2001.3 for sigismember(3) (the tort follows more of what's
> stated in the POSIX spec [1]).
>
> Index: libc/gen/sigsetops.3
> ===================================================================
> --- libc/gen/sigsetops.3 (revision 210226)
> +++ libc/gen/sigsetops.3 (working copy)
> @@ -92,8 +92,11 @@
> The
> .Fn sigismember
> function returns 1
> -if the signal is a member of the set,
> -0 otherwise.
> +if the signal is a member of the set, or 0 if it is not.
> +Otherwise, it returns \-1 and the global variable
> +.Va errno
> +is set to indicate the reason.
> +.Bl
> The other functions return 0 upon success.
> A \-1 return value
> indicates an error occurred and the global variable
>
> 1. http://opengroup.org/onlinepubs/007908799/xsh/sigismember.html
>
More information about the freebsd-hackers
mailing list