Email List: Xaustin-group-lX
[All Lists]

Re: Proposed submissions for the revision from The Open Group

To: Garrett Wollman <yyyyyyy@xxxxxxxxxxxxx>
Subject: Re: Proposed submissions for the revision from The Open Group
From: Roland McGrath <yyyyyy@xxxxxxxx>
Date: Mon, 9 Jan 2006 12:28:05 -0800 (PST)
Cc: Andrew Josey <yyyyyy@xxxxxxxxxxxxxxxxx>, yyyyyyyyyyyyyy@xxxxxxxxxxxxx
> I don't understand the naming of these functions.  Surely fchown()
> needs no *at() variant, since it already takes a file descriptor as an
> argument.  Presumably this is what I would expect to called chownat().
> Is this (IMO unnecessarily confusing) nomenclature intentional, and if
> so why?  It seems to exist only in Solaris, of the systems readily
> available for me to check; perhaps someone from Sun can comment on the
> naming.

The naming comes from Solaris.  I assume they chose the f* names because
the first argument is a file descriptor.  It seemed odd to me as well.
glibc 2.4 has these interfaces as well, and we used the f* naming style to
match the Solaris practice.

<Prev in Thread] Current Thread [Next in Thread>