Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/ctermid.c')
-rw-r--r--newlib/libc/sys/linux/ctermid.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/newlib/libc/sys/linux/ctermid.c b/newlib/libc/sys/linux/ctermid.c
deleted file mode 100644
index 05914ffad..000000000
--- a/newlib/libc/sys/linux/ctermid.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* ctermid */
-
-#include <stdio.h>
-#include <string.h>
-
-static char devname[] = "/dev/tty";
-
-char *
-_DEFUN (ctermid, (buf),
- char *buf)
-{
- if (buf == NULL)
- return devname;
-
- return strcpy (buf, "/dev/tty");
-}