RTEMS 6.2
Loading...
Searching...
No Matches
Functions

POSIX 1003.1b 6.3.1 - Close a File. More...

#include <rtems/libio_.h>

Functions

int close (int fd)
 

Detailed Description

POSIX 1003.1b 6.3.1 - Close a File.

Function Documentation

◆ close()

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.