summaryrefslogtreecommitdiff
path: root/src/unistd/tcgetpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/tcgetpgrp.c')
-rw-r--r--src/unistd/tcgetpgrp.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/unistd/tcgetpgrp.c b/src/unistd/tcgetpgrp.c
deleted file mode 100644
index 3808bd7f..00000000
--- a/src/unistd/tcgetpgrp.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#if 0
-
-#include <sys/types.h>
-#include <unistd.h>
-#include "termios/_termios.h"
-
-pid_t tcgetpgrp(int fildes)
-{
- pid_t pid = -1;
- if (ioctl(fildes, TIOCGPGRP, &pid) == -1) {
- return (pid_t)-1;
- }
- return pid;
-}
-
-/*
-POSIX(1)
-*/
-
-
-#endif