Set the process group ID associated with a device
#include <sys/dcmd_chr.h> #define DCMD_CHR_TCSETPGRP __DIOT(_CMD_IOCTL_TTY, 118, pid_t) /* TIOCSPGRP */
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_CHR_TCSETPGRP |
dev_data_ptr | A pointer to a pid_t |
n_bytes | sizeof(pid_t) |
dev_info_ptr | NULL |
This command sets the process group ID associated with a device. It's also implemented as the TIOCSPGRP ioctl() command.
The process group ID.
None.
devctl(), tcsetpgrp() in the QNX Neutrino C Library Reference