grep -r -i "O_CLOEXEC" /usr/include
On 10.6 this gives me nothing but some "no such file" warnings.
On 10.7 it gives me this output:
/usr/include/sys/fcntl.h:#define O_CLOEXEC 0x1000000 /* implicitly set FD_CLOEXEC */
grep -r -i "O_CLOEXEC" /usr/include
On 10.6 this gives me nothing but some "no such file" warnings.
On 10.7 it gives me this output:
/usr/include/ sys/fcntl. h:#define O_CLOEXEC 0x1000000 /* implicitly set FD_CLOEXEC */