[M3devel] fcntl int vs. long?

Jay jay.krell at cornell.edu
Tue Mar 17 13:50:04 CET 2009


..hm..
 
C:\dev2\cm3.2\m3-www\http\src\AppBackup.m3(77):(* Nov 16: file.lock broken in call to fcntl - int vs. long confusion
C:\dev2\cm3.2\m3-www\http\src\AppBackup.m3(103):(* Nov 16: file.lock broken in call to fcntl - int vs. long confusion

 
 - Jay




----------------------------------------
> From: jay.krell at cornell.edu
> To: m3devel at elegosoft.com
> Subject: fcntl int vs. long?
> Date: Tue, 17 Mar 2009 12:47:41 +0000
>
>
> 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