mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-22 23:17:28 +08:00
9087163804
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
16 lines
198 B
C
16 lines
198 B
C
/* 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");
|
|
}
|