Watt-32 tcp/ip  2.2 dev-rel.10
Functions | Variables
fcntl.c File Reference

Go to the source code of this file.

Functions

int MS_CDECL fcntlsocket (int s, int cmd,...)
 

Variables

static const struct search_list commands []
 

Detailed Description

BSD fcntlsocket().

Definition in file fcntl.c.

Function Documentation

int MS_CDECL fcntlsocket ( int  s,
int  cmd,
  ... 
)
Todo:
handle O_TEXT and O_BINARY

Definition at line 69 of file fcntl.c.

References _socklist_find(), list_lookup(), and tcp_Socket::timeout.

Variable Documentation

const struct search_list commands[]
static
Initial value:
= {
{ F_DUPFD, "F_DUPFD" },
{ F_GETFL, "F_GETFL" },
{ F_SETFL, "F_SETFL" },
{ F_GETFD, "F_GETFD" },
{ F_SETFD, "F_SETFD" },
{ F_GETLK, "F_GETLK" },
{ F_SETLK, "F_SETLK" },
{ F_SETLKW, "F_SETLKW" },
{ F_GETOWN, "F_GETOWN" },
{ F_SETOWN, "F_SETOWN" }
}

Definition at line 54 of file fcntl.c.