mirror of
https://github.com/fluencelabs/musl
synced 2025-06-12 22:41:37 +00:00
initial check-in, version 0.5.0
This commit is contained in:
39
include/termios.h
Normal file
39
include/termios.h
Normal file
@ -0,0 +1,39 @@
|
||||
#ifndef _TERMIOS_H
|
||||
#define _TERMIOS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define __NEED_pid_t
|
||||
|
||||
#include <bits/alltypes.h>
|
||||
|
||||
typedef unsigned char cc_t;
|
||||
typedef unsigned int speed_t;
|
||||
typedef unsigned int tcflag_t;
|
||||
|
||||
#define NCCS 32
|
||||
|
||||
#include <bits/termios.h>
|
||||
|
||||
speed_t cfgetospeed (const struct termios *);
|
||||
speed_t cfgetispeed (const struct termios *);
|
||||
int cfsetospeed (struct termios *, speed_t);
|
||||
int cfsetispeed (struct termios *, speed_t);
|
||||
|
||||
int tcgetattr (int, struct termios *);
|
||||
int tcsetattr (int, int, const struct termios *);
|
||||
|
||||
int tcsendbreak (int, int);
|
||||
int tcdrain (int);
|
||||
int tcflush (int, int);
|
||||
int tcflow (int, int);
|
||||
|
||||
pid_t tcgetsid (int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user