Subject: Re: Large inodes for ffs
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 03/24/1999 19:00:28
>> Looks to me like our fcntl() manual page is broken in several ways,
>> and should be updated to look more like the solaris manual page (which
>> provides the correct understanding of the nature of 'arg').  8-)
>
>Why is the declaration (in syscalls.master) "int sys_fcntl(int fd, int
>cmd, ... void *arg);" - the dots make it look like it's varyarg'd when it
>isn't.

because for F_GETFD, F_GETFL, and F_GETOWN, "arg is ignored".  so the
programmer can ignore it ala open(2).

	int open __P((const char *, int, ...));

which is (imho) another fugly thing.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."