|
Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
File descriptor virtual method table. More...
#include <fdtable.h>
Data Fields | ||
| union { | ||
| ssize_t(* read )(void *obj, void *buf, size_t sz) | ||
| ssize_t(* read_offs )(void *obj, void *buf, size_t sz, size_t offset) | ||
| }; | ||
| union { | ||
| ssize_t(* write )(void *obj, const void *buf, size_t sz) | ||
| ssize_t(* write_offs )(void *obj, const void *buf, size_t sz, size_t offset) | ||
| }; | ||
| int(* | close )(void *obj) | |
| int(* | ioctl )(void *obj, unsigned int request, va_list args) | |
File descriptor virtual method table.
Currently all operations beyond read/write/close go thru ioctl method.
| union { ... } fd_op_vtable |
| union { ... } fd_op_vtable |
| int(* fd_op_vtable::close) (void *obj) |
| int(* fd_op_vtable::ioctl) (void *obj, unsigned int request, va_list args) |