termios.h (eef8b03ca023b906cef9f8b85212e61ae9d95d0b) termios.h (448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3)
1/*-
2 * Copyright (c) 1988, 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 67 unchanged lines hidden (view full) ---

76int cfsetospeed(struct termios *, speed_t);
77int tcgetattr(int, struct termios *);
78int tcsetattr(int, int, const struct termios *);
79int tcdrain(int);
80int tcflow(int, int);
81int tcflush(int, int);
82int tcsendbreak(int, int);
83
1/*-
2 * Copyright (c) 1988, 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 67 unchanged lines hidden (view full) ---

76int cfsetospeed(struct termios *, speed_t);
77int tcgetattr(int, struct termios *);
78int tcsetattr(int, int, const struct termios *);
79int tcdrain(int);
80int tcflow(int, int);
81int tcflush(int, int);
82int tcsendbreak(int, int);
83
84#if __POSIX_VISIBLE >= 200112 || __BSD_VISIBLE
84#if __POSIX_VISIBLE >= 200112
85pid_t tcgetsid(int);
86#endif
87#if __BSD_VISIBLE
88int tcsetsid(int, pid_t);
89
90void cfmakeraw(struct termios *);
91void cfmakesane(struct termios *);
92int cfsetspeed(struct termios *, speed_t);
93#endif
94__END_DECLS
95
96#endif /* !_TERMIOS_H_ */
97
98#ifndef _POSIX_SOURCE
99#include <sys/ttycom.h>
100#include <sys/ttydefaults.h>
101#endif
85pid_t tcgetsid(int);
86#endif
87#if __BSD_VISIBLE
88int tcsetsid(int, pid_t);
89
90void cfmakeraw(struct termios *);
91void cfmakesane(struct termios *);
92int cfsetspeed(struct termios *, speed_t);
93#endif
94__END_DECLS
95
96#endif /* !_TERMIOS_H_ */
97
98#ifndef _POSIX_SOURCE
99#include <sys/ttycom.h>
100#include <sys/ttydefaults.h>
101#endif