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