[klibc] Re: [PATCH] fcntl takes unsigned long as third arg

Dave Dodge dododge at dododge.net
Thu Aug 26 16:02:01 PDT 2004


On Wed, Aug 25, 2004 at 12:16:49PM -0700, H. Peter Anvin wrote:
> Olaf Hering wrote:
> >-int fcntl(int, int, long)
> >+int fcntl(int, int, unsigned long)
> 
> Hm.  POSIX wants signed long;

Just FYI, the Single Unix Specification (v2 and v3) says:

  int fcntl(int fildes, int cmd, ...);

http://www.unix.org/version3/online.html
                                                  -Dave Dodge



More information about the klibc mailing list