Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4725 → Rev 4726

/branches/network/uspace/srv/net/include/socket_errno.h
51,9 → 51,9
////#define EINVAL (-10022)
////#define EMFILE (-10024)
//#define EWOULDBLOCK (-10035)
/* If any API function is called while a blocking function is in progress.
/** An API function is called while another blocking function is in progress.
*/
//#define EINPROGRESS (-10036)
#define EINPROGRESS (-10036)
//#define EALREADY (-10037)
 
/** The socket identifier is not valid.
/branches/network/uspace/srv/net/include/socket.h
114,6 → 114,7
* @param socket_id Socket identifier. Input parameter.
* @returns EOK on success.
* @returns ENOTSOCK if the socket is not found.
* @returns EINPROGRESS if there is another blocking function in progress.
* @returns Other error codes as defined for the NET_SOCKET_CLOSE message.
*/
int closesocket( int socket_id );