Hang up on last close
#include <sys/ioctl.h> #define TIOCHPCL _IO('t', 2)
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCHPCL |
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.
None.
None.
ioctl() in the QNX Neutrino C Library Reference