diff options
Diffstat (limited to 'src/unistd/ctermid.c')
| -rw-r--r-- | src/unistd/ctermid.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/unistd/ctermid.c b/src/unistd/ctermid.c deleted file mode 100644 index 0fb4a510..00000000 --- a/src/unistd/ctermid.c +++ /dev/null @@ -1,27 +0,0 @@ -#if 0 - -#include <stddef.h> -#include <sys/types.h> -#include <unistd.h> -#include <stdio.h> -#include <string.h> - -char * ctermid(char * s) -{ - static char ctid[L_ctermid + 1] = "/dev/tty"; - - /* TODO: return the empty string if there is no controlling terminal */ - if (s == NULL) { - s = ctid; - } else { - strcpy(s, ctid); - } - - return s; -} -/* -POSIX(1) -*/ - - -#endif |
