Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/posix_openpt.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1297 - (show annotations) (download)
Fri May 27 15:12:11 2011 UTC (12 years, 11 months ago) by niro
File MIME type: text/plain
File size: 192 byte(s)
-updated to klibc-1.5.22 with mntproc definitions patch included
1 /*
2 * posix_openpt.c
3 */
4
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include <unistd.h>
8 #include <termios.h>
9 #include <fcntl.h>
10
11 int posix_openpt(int oflag)
12 {
13 return open("/dev/ptmx", oflag);
14 }