Sign in
googlers
/
maze
/
klibc
/
refs/tags/klibc-1.5.20
/
.
/
usr
/
klibc
/
posix_openpt.c
blob: 79e67b6c58b38ece8821b3e272d2e1428cd4999b [
file
] [
log
] [
blame
]
/*
* posix_openpt.c
*/
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
#include
<termios.h>
#include
<fcntl.h>
#include
<sys/ioctl.h>
int
posix_openpt
(
int
oflag
)
{
return
open
(
"/dev/ptmx"
,
oflag
);
}