DCMD_CHR_ENABLE_LOGGING

Enable the logging of transmitted and/or received data

Synopsis:

#include <sys/dcmd_chr.h>

#define DCMD_CHR_ENABLE_LOGGING     __DIOT(_DCMD_CHR, 36, int)

Arguments to devctl():

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

Description:

This command enables the logging of transmitted and/or received data.

Input:

A bitwise OR of the flags that specify the type of data:

Output:

None.

See also:

DCMD_CHR_DISABLE_LOGGING, DCMD_CHR_FLUSH_LOG

devctl() in the QNX Neutrino C Library Reference