include/unistd.h File Reference


Defines

#define _UNISTD_H   1

Functions

int16_t close (int16_t id)

Define Documentation

#define _UNISTD_H   1


Function Documentation

int16_t close ( int16_t  id  ) 

A system call that closes a resource identifier (e.g socket, timerid, or a resource id) so that it may be reused.

Returns:
0 on success. On error, -1 is returned and errno is set appropriately.
Errors:
EINVAL bad identifier
EBUSY resource may require closing sessions before freeing resource identifier.


Generated on Fri May 2 15:41:50 2008 for Arch Rock IP/6LoWPAN Evaluation Software Distribution by  doxygen 1.5.5