repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
posix
/
_tcgetattr.c
blob
cb1942ba6de544f450c03ce1b748e7c6b0b281ec
1
#define tcgetattr _tcgetattr
2
#define ioctl _ioctl
3
#include <sys/ioctl.h>
4
#include <errno.h>
5
#include <termios.h>
6
7
int
tcgetattr
(
fd
,
termios_p
)
8
int
fd
;
9
struct
termios
*
termios_p
;
10
{
11
return
(
ioctl
(
fd
,
TCGETS
,
termios_p
));
12
}