#include <unistd.h>
#include <termios.h>
#include <sys/ioctl.h>
int tcsetpgrp(int fd, pid_t pgrp)
{
int pgrp_int = pgrp;
return ioctl(fd, TIOCSPGRP, &pgrp_int);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif
![]() |
index : grovel | |
| Unnamed repository; edit this file 'description' to name the repository. | External SSH Git service user |
| aboutsummaryrefslogtreecommitdiff |
#include <unistd.h>
#include <termios.h>
#include <sys/ioctl.h>
int tcsetpgrp(int fd, pid_t pgrp)
{
int pgrp_int = pgrp;
return ioctl(fd, TIOCSPGRP, &pgrp_int);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif