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

Magnus Hjorth mh at omnisys.se
Sat Feb 3 02:03:55 EST 2007


Daniel Ng wrote:
> Hi,
>
> My application Seg Faults when I try to set flags for my socket fd.
>
> Then I try getting the fd flags:
> fcntl(fd, F_GETFL, flags)
>   
Shouldn't it be &flags ??

-- 

Magnus Hjorth, M.Sc.
Omnisys Instruments AB
Gruvgatan 8
SE-421 30  Västra Frölunda, SWEDEN
Phone: +46 31 734 34 09
Fax: +46 31 734 34 29
http://www.omnisys.se 



More information about the Linuxppc-embedded mailing list