summaryrefslogtreecommitdiff
path: root/src/termios/tcgetattr.c
blob: 364dc9f717f5e3e853c471a150f79b3e0609cdfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#if 0

#include <termios.h>
#include "_termios.h"

int tcgetattr(int fildes, struct termios *termios_p)
{
	int ret = -1;
	struct kernel_termios kt;
	utok(kt, *termios_p);
	ret = ioctl(fildes, TCGETS, &kt);
	ktou(*termios_p, kt);
	return ret;
}

/*
POSIX(1)
*/


#endif