Date: Fri, 3 Mar 2017 17:01:02 -0800 From: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com> To: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> Cc: Dirk-Willem van Gulik <dirkx@webweaving.org>, freebsd-hackers@freebsd.org Subject: Re: kill -0 <pid> --- side effect or supported Message-ID: <DFD6BA0E-F5DB-412A-87EB-701D8E6ED86A@gmail.com> In-Reply-To: <201703040055.v240tf0H073569@pdx.rh.CN85.dnsmgr.net> References: <201703040055.v240tf0H073569@pdx.rh.CN85.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_98EA757C-3087-4498-9ED2-3B2542D57094 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 3, 2017, at 16:55, Rodney W. Grimes = <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> wrote: =E2=80=A6 > yes, but make it explicity clear just like it is explicity clear in = kill(2), > documentation should be good, clear and concise, not left for guessing > between the lines. Add a 0 item to the list of popular signals, or > add a sentence about this special case that is not well known. True. >> It might be a good idea to clarify this point/behavior by pointing to = kill(2) for the signal behavior/description noted above. >=20 > It already has a xref to kill(2). Compters derefence pointers better > than people do, so we can use all the help we can get, and if we are > reading a man page we need help! I meant, make the Xr=E2=80=99ef more obvious, e.g., See .Xr kill 2 for more details about the behavior of signum. Also, I agree that kill(2) should be clearer. POSIX already does a good = job filling in that gap. =46rom = http://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html : The kill() function shall send a signal to a process or a group of = processes specified by pid. The signal to be sent is specified by sig = and is either one from the list given in <signal.h> or 0. If sig is 0 = (the null signal), error checking is performed but no signal is actually = sent. The null signal can be used to check the validity of pid. Thanks, -Ngie --Apple-Mail=_98EA757C-3087-4498-9ED2-3B2542D57094 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJYuhHPAAoJEPWDqSZpMIYVqKQP/3JLHXRcy+SsuW1m23CbnlYP dJ5UexMhEh5/5wP5S9eeCgPJ2YaNNIZOWlJlikRzhjF18HcmO2Q+s8NHlr0un6ZF o0GdwONA0u4zmt3qg/F5Hx5oljR2ERiL06o0Nd5/pxS9RpNvrugKQ0ftfj/5dw22 Ymlbo4UZgIj4QMRwc2mJx97JDZqcW0rfkoDOeHc2bqzCmLOPDlbRuKnhQpszZtY0 2MgobHLyjeQf1SXfmhXz6D1kOxVZkzBR+lpStD5XpAnIoNSkRJSabdY65oa29lT0 mWsJ/J5PTQNElFtOhWeiWJ3lqNnwXlipuB6O2iz4qFWiM0V4ZHWPbvnbyID3ooOa 6Vq0d/qBQVcfw0t4ZcNFU2j1etFc7MOwAaXiZ6eK+i9/GzqRd81dMNK23Ys9rn90 935SGiLUzYqbhsCmnr9dYcIDY5JUCSBrZnFc5vB0IR2WgIh+Lhzlpo7IAHqCMPir n7/Zr/3Ht/e5Du5/jZDpWWvwpxfXmDLTjQknhA1lpiprbpWns2QzpypRffH766vl NPb6kgyqJRPOVljFkc1fUXASauXvm7gtfRQX/GK5XjOH11Zkh35L9bydeHafGG9L 09ujSqAv4N6TrEXwTtaYXFb231dfVF+JSFxwL9sIjU41TTcPTz3msCMPO+Wsd6nE AFSEbhF42CxaCVZLauZf =28UN -----END PGP SIGNATURE----- --Apple-Mail=_98EA757C-3087-4498-9ED2-3B2542D57094--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFD6BA0E-F5DB-412A-87EB-701D8E6ED86A>