![]() |
RTEMS 6.2
|
POSIX 1003.1b 6.3.1 - Close a File. More...
#include <rtems/libio_.h>Functions | |
| int | close (int fd) |
POSIX 1003.1b 6.3.1 - Close a File.
| int close | ( | int | fd | ) |
When LIBIO_FLAGS_CLOSE_BUSY is not set check that only one reference is held to prevent closing while busy. Otherwise atomically check that the flags match to ensure the reference count is maintained.