mirror of
https://github.com/termux/termux-packages
synced 2024-06-21 14:27:08 +00:00
12 lines
140 B
C
12 lines
140 B
C
|
|
char *strcpy(char *, const char *);
|
|
|
|
char *
|
|
ctermid(char *s)
|
|
{
|
|
if (s == 0)
|
|
return "/dev/tty";
|
|
strcpy(s, "/dev/tty");
|
|
return s;
|
|
}
|