Thread (3 messages) flat view 3 messages, 3 authors, 2007-02-02

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

From: Magnus Hjorth <hidden>
Date: 2007-02-02 15:03:59

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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help