From owner-freebsd-hackers@freebsd.org Sat Mar 4 01:01:05 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4BBACF61C8 for ; Sat, 4 Mar 2017 01:01:05 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7155D19FA for ; Sat, 4 Mar 2017 01:01:05 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x22d.google.com with SMTP id 77so4833326pgc.1 for ; Fri, 03 Mar 2017 17:01:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=iuRn/dYUTAR88rv+cHYQuxkmwvSt7amz25Xo+WpOfJE=; b=b2//QymA/CNifDTyzwunwdKqsFd6kq5l0o2xNoKW67+TQVToHXXS2hy1mRlRu4lSbh AvWItmffzNSdmADNva6FpcZvFPNjpz5I4bmlu86uez8qSOTfF2W6F7043etN/ZaldwQV f9vOQo3/nIrlfk9/xEZb8itOV6CzDdT6mn2nH+cmmcEDVDS3cvkTogP13sEPLcKyEc7l /pz6Xswl6MxrXPD66Ijj5I5+JbW7VumkWGEAHMycVN6+FVS1g/UENHHiXX/PwLNokCM6 S7Pzsc16EKKwcajtBL465m2KerULXpMVFvpVBYrc5Io+awSphFUYI5dBDzbjVTopBOIj fIEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=iuRn/dYUTAR88rv+cHYQuxkmwvSt7amz25Xo+WpOfJE=; b=UsMNA3wIhWbjXDPBWti0VTbxE7aSK8EFptUzxb3koWAjMitbKCaRCCorj9SjKoxQCF 4EImNz/DwG0ipUwxNr9oebtazzU/FlAp8YxD9OSyISnTHyXaJz5mSLz7UG4J42X/gZg8 w5nR6X84UQI7wQj8mSG+RRpfEes2KxU9NdQhRPtbK1IlzUdWBaF/G5XK2/QsRdrqnIec ESBwtTEn3CLHe5ckRC6UY4ndNG79MAoEO+a5DHFiYwKjUzlZRLmT33EErMWSp4zyNIso ZcqSiO3ZI+tpcWy7ujG9ph1EfyUl0W3hRprbbGVFzyLRy0qEeg3Wht4HF3Zbwef3TT5W 8OOQ== X-Gm-Message-State: AMke39kyH1TD+cl3Ro+UES/wWVbF4+kgPkMPvA84F+qyS/Yqov2lLeEr8mO3ZpCLAa6QVQ== X-Received: by 10.84.218.133 with SMTP id r5mr8150021pli.165.1488589265003; Fri, 03 Mar 2017 17:01:05 -0800 (PST) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id o125sm25522323pfb.109.2017.03.03.17.01.03 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Mar 2017 17:01:04 -0800 (PST) Subject: Re: kill -0 --- side effect or supported Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_98EA757C-3087-4498-9ED2-3B2542D57094"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <201703040055.v240tf0H073569@pdx.rh.CN85.dnsmgr.net> Date: Fri, 3 Mar 2017 17:01:02 -0800 Cc: Dirk-Willem van Gulik , freebsd-hackers@freebsd.org Message-Id: References: <201703040055.v240tf0H073569@pdx.rh.CN85.dnsmgr.net> To: "Rodney W. Grimes" X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2017 01:01:05 -0000 --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 = 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 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--