Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
201dabf78546ca712d3541670a5d898dc199854e
/
.
/
usr
/
klibc
/
posix_openpt.c
blob: 794ca466f62fd12eceb02ab7c19d326e74ca85af [
file
] [
log
] [
blame
]
/*
* posix_openpt.c
*/
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
#include
<termios.h>
#include
<fcntl.h>
int
posix_openpt
(
int
oflag
)
{
return
open
(
"/dev/ptmx"
,
oflag
);
}