mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +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");
|
|
}
|