8 lines
115 B
C
8 lines
115 B
C
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
char *ctermid(char *s)
|
||
|
{
|
||
|
return s ? strcpy(s, "/dev/tty") : "/dev/tty";
|
||
|
}
|