Sign in
googlers
/
maze
/
klibc
/
960f95fffbb43c5137e1fce915af0a551d11b522
/
.
/
usr
/
klibc
/
getpt.c
blob: 8d2a5364bb654f6197cf26806ff3061c2ac5aa14 [
file
] [
log
] [
blame
]
/*
* getpt.c
*
* GNU extension to the standard Unix98 pty suite
*/
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
#include
<termios.h>
#include
<fcntl.h>
int
getpt
(
void
)
{
return
open
(
"/dev/ptmx"
,
O_RDWR
|
O_NOCTTY
);
}