Back to index

glibc  2.9
Functions
tcsetpgrp.c File Reference
#include <sys/types.h>
#include <sysv_termio.h>
#include <errno.h>
#include <unistd.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Functions

int tcsetpgrp (int fd, pid_t pgrp_id)

Function Documentation

int tcsetpgrp ( int  fd,
pid_t  pgrp_id 
)

Definition at line 27 of file tcsetpgrp.c.

{
  return __ioctl (fd, _TIOCSPGRP, &pgrp_id);
}