unlock_file()
#
Unlock a file using a file descriptor.
Prototype
PUBLIC int unlock_file(
int fd
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The file descriptor of the file to unlock. |
Return Value
Returns 0
on success, or a negative value on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples