Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fdtable.h File Reference
#include <stdarg.h>
#include <sys/types.h>
#include <zephyr/fs/fs.h>
#include <zephyr/sys/mutex.h>

Go to the source code of this file.

Data Structures

struct  fd_op_vtable
 File descriptor virtual method table. More...
 

Enumerations

enum  {
  ZFD_IOCTL_FSYNC = 0x100 , ZFD_IOCTL_LSEEK , ZFD_IOCTL_POLL_PREPARE , ZFD_IOCTL_POLL_UPDATE ,
  ZFD_IOCTL_POLL_OFFLOAD , ZFD_IOCTL_SET_LOCK , ZFD_IOCTL_FIONREAD = 0x541B , ZFD_IOCTL_FIONBIO = 0x5421
}
 Request codes for fd_op_vtable.ioctl(). More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Request codes for fd_op_vtable.ioctl().

Note that these codes are internal Zephyr numbers, for internal Zephyr operations (and subject to change without notice, not part of "stable ABI"). These are however expected to co-exist with "well-known" POSIX/Linux ioctl numbers, and not clash with them.

Enumerator
ZFD_IOCTL_FSYNC 
ZFD_IOCTL_LSEEK 
ZFD_IOCTL_POLL_PREPARE 
ZFD_IOCTL_POLL_UPDATE 
ZFD_IOCTL_POLL_OFFLOAD 
ZFD_IOCTL_SET_LOCK 
ZFD_IOCTL_FIONREAD 
ZFD_IOCTL_FIONBIO