Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
newlib
/
newlib
/
libc
/
sys
/
linux
/
ctermid.c
blob: 05914ffad4178621a5af7a48cafbe6d7ab7f664c [
file
] [
log
] [
blame
]
/* 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"
);
}