Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 15:25:01 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   [PATCH] More explicit return codes for sigismember(3)
Message-ID:  <AANLkTi=USOfKgYEUR4BQrCrjz6tFKVAod2E%2BgS%2BwC2Xu@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0016364c7576f8d0d404950ba1ae
Content-Type: text/plain; charset=ISO-8859-1

Hi,
    I found this change kicking around my tree from a while back. It
brings the manpage for sigismember(3) more in line with the POSIX
definition [1] in the RETURN CODES section by explicitly noting that
sigismember(3) returns 0 if a signal is valid and not a part of the
set passed in.
    If someone could review and commit the change, it would be much appreciated.
Thanks!
-Garrett

[1] http://www.opengroup.org/onlinepubs/009695399/functions/sigismember.html
(SUS Issue 6 -- but the wording for the manpage is the same in SUS
Issue 7).

--0016364c7576f8d0d404950ba1ae
Content-Type: application/octet-stream; 
	name="more-explicit-sigismember-return-codes.diff"
Content-Disposition: attachment; 
	filename="more-explicit-sigismember-return-codes.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ggijv1x10

SW5kZXg6IGxpYi9saWJjL2dlbi9zaWdzZXRvcHMuMwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaWIvbGliYy9n
ZW4vc2lnc2V0b3BzLjMJKHJldmlzaW9uIDIxNTMxMCkKKysrIGxpYi9saWJjL2dlbi9zaWdzZXRv
cHMuMwkod29ya2luZyBjb3B5KQpAQCAtOTIsOCArOTIsMTEgQEAKIFRoZQogLkZuIHNpZ2lzbWVt
YmVyCiBmdW5jdGlvbiByZXR1cm5zIDEKLWlmIHRoZSBzaWduYWwgaXMgYSBtZW1iZXIgb2YgdGhl
IHNldCwKLTAgb3RoZXJ3aXNlLgoraWYgdGhlIHNpZ25hbCBpcyBhIG1lbWJlciBvZiB0aGUgc2V0
LCBvciAwIGlmIGl0IGlzIG5vdC4KK090aGVyd2lzZSwgaXQgcmV0dXJucyBcLTEgYW5kIHRoZSBn
bG9iYWwgdmFyaWFibGUKKy5WYSBlcnJubworaXMgc2V0IHRvIGluZGljYXRlIHRoZSByZWFzb24u
CisuQmwKIFRoZSBvdGhlciBmdW5jdGlvbnMgcmV0dXJuIDAgdXBvbiBzdWNjZXNzLgogQSBcLTEg
cmV0dXJuIHZhbHVlCiBpbmRpY2F0ZXMgYW4gZXJyb3Igb2NjdXJyZWQgYW5kIHRoZSBnbG9iYWwg
dmFyaWFibGUK
--0016364c7576f8d0d404950ba1ae--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=USOfKgYEUR4BQrCrjz6tFKVAod2E%2BgS%2BwC2Xu>