Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
musl
/
src
/
unistd
/
tcsetpgrp.c
blob: 67c38cb45c9a5eb35eb1e8c4b843a8d809a24171 [
file
] [
log
] [
blame
]
#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
);
}