DCMD_CHR_OSSIZE

QNX SDP8.0Devctl and Ioctl CommandsDeveloper

Determine the size of the device's output buffer

Synopsis:

#include <sys/dcmd_chr.h>

#define DCMD_CHR_OSSIZE  __DIOF(_DCMD_CHR, 28, unsigned)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening the device.
dcmd DCMD_CHR_OSSIZE
dev_data_ptr A pointer to an unsigned
n_bytes sizeof(unsigned)
dev_info_ptr NULL

Description:

This command determines the size of the device's output buffer.

Input:

None.

Output:

The size of the device's output buffer.

See also:

DCMD_CHR_ISSIZE

devctl() in the QNX OS C Library Reference

Page updated: