[M3devel] fcntl int vs. long?
    Jay 
    jay.krell at cornell.edu
       
    Tue Mar 17 13:47:41 CET 2009
    
    
  
Anyone want to do the research on various systems of the third parameter, for our uses, of fcntl, being int or long?
 
Here is it being long on Linux:
 
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/fs/fcntl.c?v=2.6.11.8#L279
 
(unsigned long, but that's not my point -- 32 bits or 64 bits on 64 bit systems).
 
The link Daniel sent has it being long on FreeBSD/AMD64.
 
 - Jay
    
    
More information about the M3devel
mailing list