termios.h

来自「微软的基于HMM的人脸识别原代码, 非常经典的说」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef _TERMIOSH
#define _TERMIOSH

#pragma push_safeptr

#include "sys/stdtypes.h"
#include "sys/termdefs.h"
#include "sys/termios.h"

int tcgetattr(int, struct termios *);
int tcsetattr(int, int, const struct termios *);

speed_t cfgetispeed(const struct termios *);
int cfsetispeed(struct termios *, speed_t);

speed_t cfgetospeed(const struct termios *);
int cfsetospeed(struct termios *, speed_t);

int tcdrain(int);
int tcflow(int, int);
int tcsendbreak(int, int);
int tcflush(int, int);


#pragma pop_ptr

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?