File: termios.h

package info (click to toggle)
glibc 2.42-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312,360 kB
  • sloc: ansic: 1,060,858; asm: 238,416; makefile: 20,960; python: 13,509; sh: 11,828; cpp: 5,188; awk: 1,794; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (37 lines) | stat: -rw-r--r-- 1,367 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _TERMIOS_H
#include <termios/termios.h>

#ifndef _ISOMAC
extern speed_t __cfgetospeed (const struct termios *__termios_p);
extern speed_t __cfgetispeed (const struct termios *__termios_p);
extern int __cfsetospeed (struct termios *__termios_p, speed_t __speed);
extern int __cfsetispeed (struct termios *__termios_p, speed_t __speed);
extern int __cfsetspeed (struct termios *__termios_p, speed_t __speed);

extern baud_t __cfgetobaud (const struct termios *__termios_p);
extern baud_t __cfgetibaud (const struct termios *__termios_p);
extern int __cfsetobaud (struct termios *__termios_p, baud_t __baud);
extern int __cfsetibaud (struct termios *__termios_p, baud_t __baud);
extern int __cfsetbaud (struct termios *__termios_p, baud_t __baud);

extern int __tcgetattr (int __fd, struct termios *__termios_p);
extern int __tcsetattr (int __fd, int __optional_actions,
			const struct termios *__termios_p);

extern int __libc_tcdrain (int __fd);

libc_hidden_proto (__tcgetattr)
libc_hidden_proto (__tcsetattr)
libc_hidden_proto (__cfgetispeed)
libc_hidden_proto (__cfgetospeed)
libc_hidden_proto (__cfsetispeed)
libc_hidden_proto (__cfsetospeed)
libc_hidden_proto (__cfsetspeed)
libc_hidden_proto (__cfgetibaud)
libc_hidden_proto (__cfgetobaud)
libc_hidden_proto (__cfsetibaud)
libc_hidden_proto (__cfsetobaud)
libc_hidden_proto (__cfsetbaud)

#endif
#endif