DCMD_CHR_TCSETSID
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Set the process group ID of a controlling terminal's session leader
Synopsis:
#include <sys/dcmd_chr.h>
#define DCMD_CHR_TCSETSID   __DIOT(_DCMD_CHR, 8, pid_t)
Arguments to devctl():
| Argument | Value | 
|---|---|
| filedes | A file descriptor that you obtained by opening the device. | 
| dcmd | DCMD_CHR_TCSETSID | 
| dev_data_ptr | A pointer to a pid_t | 
| n_bytes | sizeof(pid_t) | 
| dev_info_ptr | NULL | 
Description:
This command sets the process group ID of the session leader for a controlling terminal.
Note: 
This command is for internal use, and you shouldn't use it directly.
Instead use the
tcsetsid()
cover function.
Input:
The process group ID.
Output:
None.
See also:
devctl(), tcsetsid() in the QNX OS C Library Reference
Page updated: 
