Date: Fri, 14 Feb 2003 15:01:28 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Garrett Wollman <wollman@lcs.mit.edu> Cc: current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes Message-ID: <20030214145937.D26991-100000@gamplex.bde.org> In-Reply-To: <200302140310.h1E3Adq0041398@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Feb 2003, Garrett Wollman wrote: > <<On Sun, 9 Feb 2003 22:47:47 +1100 (EST), Bruce Evans <bde@zeta.org.au> said: > > > _fpathconf() is quite different from __semctl. It is not a syscall. > > It is a weak alias for fpathconf() which is prototyped normally in > > <unistd.h>. The prototype for fpathconf() should be turned into > > a prototype for _fpathconf() by "namespace.h", but statvfs.c is missing > > theinclude of <unistd.h> so this doesn't happen. > > It's there in the version on my machine (rev. 1.2 by tjr dated > 2002/09/06). Oops. It's there in my version too. I jumped to the conclusion that it isn't there after grepping for _fpathconf in namespace.h. The problem is that _fpathconf is in the `#if 0' section. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030214145937.D26991-100000>