ELDK glibc fcntl(socketFd,F_SETFL, flags) causes Seg Fault

Edward Jubenville edjubenville at adelphia.net
Sat Feb 3 01:11:14 EST 2007


> Then I try getting the fd flags:
> fcntl(fd, F_GETFL, flags)

Don't you really need to do this...

  flags = fcntl(fd, F_GETFL, 0)

to get the correct initial state of the flags?

Ed Jubenville






More information about the Linuxppc-embedded mailing list