DCMD_CHR_RESET

Updated: May 06, 2022

Reset the device

Synopsis:

#include <sys/dcmd_chr.h>

#define DCMD_CHR_RESET   __DION(_DCMD_CHR, 31)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening the device.
dcmd DCMD_CHR_RESET
dev_data_ptr NULL
n_bytes 0
dev_info_ptr NULL

Description:

This command resets the device.

Note: Not all drivers pay attention to this command.

Input:

None.

Output:

None.

See also:

DCMD_CHR_IDLE, DCMD_CHR_RESUME

devctl() in the QNX Neutrino C Library Reference