blob: bcf36f605ee792f7409ef2b6c788953ac9129ee6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* ctermid */
#include <stdio.h>
#include <string.h>
static char devname[] = "/dev/tty";
char *
ctermid (char *buf)
{
if (buf == NULL)
return devname;
return strcpy (buf, "/dev/tty");
}
|