Sign in
googlers
/
maze
/
klibc
/
c2c7f19a094bba822995f7eba8ec8dfc5cbe4fdb
/
.
/
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
);
}