Close the specified descriptor.
Synopsis
Declared in <bdls_filesystemutil.h>
static
int
close(FileDescriptor descriptor);
Description
Return 0 on success and a non‐zero value otherwise. A return value of k_BAD_FILE_DESCRIPTOR indicates that the supplied descriptor is invalid.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
descriptor |
file descriptor to close |
Created with MrDocs