source: trunk/minix/lib/posix/_tcgetattr.c@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 222 bytes
Line 
1#define tcgetattr _tcgetattr
2#define ioctl _ioctl
3#include <sys/ioctl.h>
4#include <errno.h>
5#include <termios.h>
6
7int tcgetattr(fd, termios_p)
8int fd;
9struct termios *termios_p;
10{
11 return(ioctl(fd, TCGETS, termios_p));
12}
Note: See TracBrowser for help on using the repository browser.