Next: read, Previous: open, Up: List of Supported Calls [Contents][Index]
int close(int fd);
close returns zero on success, or -1 if an error occurred.
fd isn’t a valid open file descriptor.
The call was interrupted by the user.