Return to tcgetpgrp.c CVS log | Up to [DVB] / dietlibc / lib |
Lots of fixes and patches from Markus Oberhumer. libstdc++ compatibility ilp64 compatibility make diet libc compile with -Werror on 13 platforms ppc64 now compiles again
#include <termios.h> #include <sys/ioctl.h> #include <unistd.h> pid_t tcgetpgrp(int fildes) { int32_t foo = -1; if (ioctl(fildes, TIOCGPGRP, &foo)==-1) return -1; else return foo; }