Date: Mon, 30 Dec 2002 15:39:25 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Robert Watson <rwatson@FreeBSD.org> Cc: Garrett Wollman <wollman@lcs.mit.edu>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern syscalls.master Message-ID: <20021230153107.P44771-100000@gamplex.bde.org> In-Reply-To: <Pine.NEB.3.96L.1021229184046.36992I-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Dec 2002, Robert Watson wrote: > On Sun, 29 Dec 2002, Garrett Wollman wrote: > > > > These calls are similar in spirit to lstat(), lchown(), lchmod(), etc, > > > > ...except for the extreme verbosity in their names. > > Yeah. They're derived from the POSIX1e-D17 naming scheme, and that naming > scheme sucks. :-) You don't have to follow it, since it is not a standard. Please don't add to the verbosity by prefixing 2 underscores. Until 4.4BSD/FreeBSD-2 there were no function names in syscalls.master with any leading underscores. _exit(2) might have had just one but had none. 4.4BSD added __sysctl(). Now there are __semctl(), __getcwd(), __setugid(), , and a slew of names beginning with __acl, __cap and __mac. Libraries may need lots of underscores for their critical entry points for technical reasons, but kernels don't. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021230153107.P44771-100000>