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 
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to