rename memalign source file back to its proper name
[musl.git] / src / termios / tcgetsid.c
blob1053fd64724790adce5644375a7a1cec6e97df96
1 #include <termios.h>
2 #include <sys/ioctl.h>
4 pid_t tcgetsid(int fd)
6 int sid;
7 if (ioctl(fd, TIOCGSID, &sid) < 0)
8 return -1;
9 return sid;