TIOCSETPGRP, TIOCSPGRP
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Set the process group ID associated with a device
Synopsis:
#include <sys/ioctl.h>
#define TIOCSPGRP _IOW('t', 118, int)
#define TIOCSETPGRP _IOW('t', 130, int)
Arguments to ioctl():
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCSETPGRP, TIOCSPGRP |
Additional argument | A pointer to an int |
Description:
These commands set the process group ID associated with a device. They're also implemented as the DCMD_CHR_TCSETPGRP devctl() command.
Note:
These commands are for internal use, and you shouldn't use them directly.
Instead use the
tcsetpgrp()
cover function.
Input:
The process group ID.
Output:
None.
See also:
DCMD_CHR_TCSETPGRP, TIOCGETPGRP, TIOCGPGRP
ioctl() in the QNX OS C Library Reference
Page updated: