close (Debugging with GDB)

From Get docs
Gdb/docs/latest/gdb/close

Next: read, Previous: open, Up: List of Supported Calls   [Contents][Index]



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.