libgslutil  1.2.3
Modules | Macros
I/O routines

Modules

 Simple I/O utilities
 
 GPIO via sysfs (gpiolib)
 
 Serial port routines
 
 Sleeping routines
 
 Generic open/connect routine
 

Macros

#define GSL_NONBLOCK   (0x00000800)
 Create file descriptor in non-blocking mode.This flag causes the created file descriptor to have non-blocking mode (O_NONBLOCK) set. This flag has the same numerical value as O_NONBLOCK, but usage of the raw O_NONBLOCK define should be deprecated. More...
 
#define GSL_SERIAL_PORT_CONTROL_LINES   (0x00000002)
 Open serial port with control lines active.
 

Detailed Description

A set of convenience functions for dealing with various aspects of I/O.

Macro Definition Documentation

◆ GSL_NONBLOCK

#define GSL_NONBLOCK   (0x00000800)

Create file descriptor in non-blocking mode.This flag causes the created file descriptor to have non-blocking mode (O_NONBLOCK) set. This flag has the same numerical value as O_NONBLOCK, but usage of the raw O_NONBLOCK define should be deprecated.