TIOCMBIS

QNX SDP8.0Devctl and Ioctl CommandsDeveloper

Set specific modem bits

Synopsis:

#include <sys/ioctl.h>

#define TIOCMBIS        _IOW('t', 108, int)

Arguments to ioctl():

Argument Value
fd A file descriptor that you obtained by opening the device
request TIOCMBIS
Additional argument A pointer to an int

Description:

This command sets specific bits in the modem control registers on a tty device.

Input:

The bits that you want to set; zero of more of the following:

  • TIOCM_DTR — data terminal ready.
  • TIOCM_RTS — request to send.

Output:

None.

See also:

TIOCMBIC, TIOCMGET, TIOCMSET

ioctl() in the QNX OS C Library Reference

Page updated: