[fpc-devel]f_setown / f_getown

Alejandro NĂ©stor Vargas anv at xnetcuyo.com.ar
Thu Aug 2 18:50:31 CEST 2001


I found a bug in the rtl for linux.

The constant f_setown sould be equal to 8 and f_getown should be 9.

The values are swapped according to the c headers in 
/usr/include/bits/fcntl.h:

F_SETOWN 8
F_GETOWN 9

The comments are mistaken. I am writing a sockets program with fpc and 
the constants in the libraries are bad, the ritht values are 8 for set 
and 9 for get.





More information about the fpc-devel mailing list