1 Star 0 Fork 0

SR达人/msteveb_jimtcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jim-tty.h 635 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef JIM_TTY_H
#define JIM_TTY_H
#include <jim.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* Return the tty settings for the given file descriptor as a dictionary
* with a zero reference count.
*
* Returns NULL and sets errno file descriptor is not a valid tty.
*/
Jim_Obj *Jim_GetTtySettings(Jim_Interp *interp, int fd);
/**
* Sets the tty settings given in 'dictObjPtr'
*
* Returns JIM_OK if OK, JIM_ERR if any settings are invalid,
* or -1 (and sets errno) if the file descriptor is not a valid tty.
*/
int Jim_SetTtySettings(Jim_Interp *interp, int fd, Jim_Obj *dictObjPtr);
#ifdef __cplusplus
}
#endif
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sr-master/msteveb_jimtcl.git
git@gitee.com:sr-master/msteveb_jimtcl.git
sr-master
msteveb_jimtcl
msteveb_jimtcl
master

搜索帮助