mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 11:08:57 +00:00
fs: Remove the unused nx_fcntl to prefer file_fcntl for kernel
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
b22cc1e2b8
commit
fc1efe2c0b
2 changed files with 14 additions and 86 deletions
|
|
@ -1296,25 +1296,6 @@ int file_ioctl(FAR struct file *filep, int req, ...);
|
|||
|
||||
int file_fcntl(FAR struct file *filep, int cmd, ...);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nx_fcntl
|
||||
*
|
||||
* Description:
|
||||
* nx_fcntl() is similar to the standard 'fcntl' interface except that is
|
||||
* not a cancellation point and it does not modify the errno variable.
|
||||
*
|
||||
* nx_fcntl() is an internal NuttX interface and should not be called
|
||||
* from applications.
|
||||
*
|
||||
* Returned Value:
|
||||
* Returns a non-negative number on success; A negated errno value is
|
||||
* returned on any failure (see comments fcntl() for a list of appropriate
|
||||
* errno values).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int nx_fcntl(int fd, int cmd, ...);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: file_poll
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue