Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fd_op_vtable Struct Reference

File descriptor virtual method table. More...

#include <fdtable.h>

Data Fields

ssize_t(* read )(void *obj, void *buf, size_t sz)
 
ssize_t(* write )(void *obj, const void *buf, size_t sz)
 
int(* close )(void *obj)
 
int(* ioctl )(void *obj, unsigned int request, va_list args)
 

Detailed Description

File descriptor virtual method table.

Currently all operations beyond read/write/close go thru ioctl method.

Field Documentation

◆ close

int(* fd_op_vtable::close) (void *obj)

◆ ioctl

int(* fd_op_vtable::ioctl) (void *obj, unsigned int request, va_list args)

◆ read

ssize_t(* fd_op_vtable::read) (void *obj, void *buf, size_t sz)

◆ write

ssize_t(* fd_op_vtable::write) (void *obj, const void *buf, size_t sz)

The documentation for this struct was generated from the following file: