posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
POSIX_JOB_CONTROL

POSIX Job Control option group (placeholder). More...

Functions

int setpgid (pid_t pid, pid_t pgid)
 Set the process group ID for a process.
 
pid_t setpgrp (void)
 Set the process group ID to the process ID of the calling process (obsolescent).
 
pid_t tcgetpgrp (int fildes)
 Get the process group ID of the foreground process group of the terminal.
 
int tcsetpgrp (int fildes, pid_t pgid_id)
 Set the foreground process group ID of a terminal.
 

Detailed Description

POSIX Job Control option group (placeholder).

See also
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html

Function Documentation

◆ setpgid()

int setpgid ( pid_t  pid,
pid_t  pgid 
)

Set the process group ID for a process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setpgid.html

◆ setpgrp()

pid_t setpgrp ( void  )

Set the process group ID to the process ID of the calling process (obsolescent).

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setpgrp.html

◆ tcgetpgrp()

pid_t tcgetpgrp ( int  fildes)

Get the process group ID of the foreground process group of the terminal.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetpgrp.html

◆ tcsetpgrp()

int tcsetpgrp ( int  fildes,
pid_t  pgid_id 
)

Set the foreground process group ID of a terminal.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html