Definitions in cdev.h
Preprocessor macro definitions for the cdev.h header file
Definitions:
#include <qvm/cdev.h>#define CDEV_INPUT_AVAILABLE_PULSE_CODE 0
The device has input available.
#define CDEV_OUTPUT_AVAILABLE_PULSE_CODE 1
The device is available for output.
#define CDEV_NUM_PULSE_CODES 2
The number of the next pulse code you can use for your character vdev. For example, MY_EXTRA_PULSE (CDEV_NUM_PULSE_CODES).
#define CDEV_OPTIONS [CDEV_OPT_HOSTDEV_IDX] = "hostdev", \
[CDEV_OPT_DELAYED_IDX] = "delayed", \
[CDEV_OPT_BATCH_IDX] = "batch"Macro for combining startup options.
Page updated:
