jobctl/tty: foreground/background and send sighup on unregister

This commit is contained in:
Matheus
2024-05-21 17:48:41 -03:00
parent 0b01bd5e9d
commit 3587dfa28e
6 changed files with 226 additions and 3 deletions
+2
View File
@@ -14,5 +14,7 @@ pid_t jobctl_getsid(proc_t *proc);
void jobctl_setctty(proc_t *proc, void *ctty);
void *jobctl_getctty(proc_t *proc);
int jobctl_signal(proc_t *proc, int signal);
proc_t *jobctl_getforeground(proc_t *proc);
int jobctl_setforeground(proc_t *session, proc_t *pgrp);
#endif