gdb.info: close

Go forward to read
Go backward to open
Go up to List of supported calls
Go to the top op gdb

close

Synopsis:
     int close(int fd);
Request:
     Fclose,fd
Return value:
     close returns zero on success, or -1 if an error occurred.
Errors:
`EBADF'
     fd isn't a valid open file descriptor.
`EINTR'
     The call was interrupted by the user.