source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/unistd/ctermid.c
Last change on this file was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 115 bytes |
Rev | Line | |
---|---|---|
[352] | 1 | #include <stdio.h> |
2 | #include <string.h> | |
3 | ||
4 | char *ctermid(char *s) | |
5 | { | |
6 | return s ? strcpy(s, "/dev/tty") : "/dev/tty"; | |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.