DCMD_CHR_PARCTL
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Control a parallel device
Synopsis:
#include <sys/dcmd_chr.h>
#define DCMD_CHR_PARCTL __DIOT(_DCMD_CHR, 98, int)
Arguments to devctl():
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening the device. |
| dcmd | DCMD_CHR_PARCTL |
| dev_data_ptr | A pointer to an int |
| n_bytes | sizeof(int) |
| dev_info_ptr | NULL |
Description:
This command controls the control lines of a parallel device. It isn't currently used.
Input:
The action to take.
Output:
None.
See also:
devctl() in the QNX OS C Library Reference
Page updated:
