User's Manual

*!LM
#!1&)*+,&.*7*)&%*)..&)55,*)&&&&&"
  :< $ 7 ( "   ( :< !   
$
1*,K
result = fcntl(socket, cmd, status)
int socket, cmd;
long result, status;
,,5*.
result 0  fcntl()  ""$
-1  " "$
socket     $
cmd 7!!      "$ % ( " 
cmd &
F_GETFL L   "$ % " " 
"  status$
F_SETFL   "  "   
status$ % # "  "#
"  O_NONBLOCK$
status #   "$ :  -C(  #'  ( 
     $  
"  (   !   "  
' #$
+ F_SETFL' fcntl()   " "   "
  status$
% "# " "  status &
O_NONBLOCK %     
($ )"  (
   ! !!#
"      errno 
EAGAIN$ %    
& accept()' connect()' recv()'
 send()$ : ( connect()
'  errno " "   
EINPROGRESS   EAGAIN$
    ( ! (#
"$