Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
fd_op_vtable Struct Reference

#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: