TIOCHPCL
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Hang up on last close
Synopsis:
#include <sys/ioctl.h>
#define TIOCHPCL _IO('t', 2)
Arguments to ioctl():
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCHPCL |
Description:
This command sets the hang up on last close
flag.
It's implemented as a call to
tcgetattr()
to get the current settings, followed by a call to
tcsetattr()
to set HUPCL.
Input:
None.
Output:
None.
See also:
ioctl() in the QNX OS C Library Reference
Page updated: