curses编程问题

sha256cn 2004-06-16 09:16:27
#include <stdio.h>
#include <curses.h>
#include <unistd.h>

int main(void)
{
struct termios termold;
tcgetattr(0,&termold);
}
在redhat下编译报"storage size of `termold' isn't known"的错,这是为什么?
谢谢
...全文
28 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

23,115

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧