Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
unistd
/
tcsetpgrp.c
blob: 250b10f9650a69198d8c6da8f0b8a6e045593ce3 [
file
] [
log
] [
blame
]
#include
<sys/ioctl.h>
#include
<termios.h>
#include
<unistd.h>
int
tcsetpgrp
(
int
fd
,
pid_t
pgrp
)
{
int
pgrp_int
=
pgrp
;
return
ioctl
(
fd
,
TIOCSPGRP
,
&
pgrp_int
);
}