Lely core libraries  2.3.4
io_handle Struct Reference

An I/O device handle. More...

#include <handle.h>

Collaboration diagram for io_handle:

Data Fields

const struct io_handle_vtabvtab
 A pointer to the virtual table.
 
atomic_size_t ref
 The reference count.
 
int fd
 The native file descriptor.
 
int flags
 The I/O device flags (any combination of IO_FLAG_NO_CLOSE and IO_FLAG_NONBLOCK).
 
mtx_t mtx
 The mutex protecting flags (and other device-specific fields).
 

Detailed Description

An I/O device handle.

Definition at line 33 of file handle.h.


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