mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-01 11:52:47 +00:00
17 lines
218 B
C
17 lines
218 B
C
|
/* ctermid */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
static char devname[] = "/dev/tty";
|
||
|
|
||
|
char *
|
||
|
_DEFUN (ctermid, (buf),
|
||
|
char *buf)
|
||
|
{
|
||
|
if (buf == NULL)
|
||
|
return devname;
|
||
|
|
||
|
return strcpy (buf, "/dev/tty");
|
||
|
}
|