📄 _fixdelay.c
字号:
#ifdef lintstatic char *sccsid = "@(#)_fixdelay.c 4.1 (ULTRIX) 7/2/90";#endif lint#include "curses.ext"/* * The use has just changed his notion of whether we want nodelay mode. * Do any system dependent processing. *//* ARGSUSED */_fixdelay(old, new)bool old, new;{#ifdef USG# include <fcntl.h> int fl, rv, fd; extern int errno; FILE *inf; inf = SP -> term_file; if( inf == stdout ) { inf = stdin; } fd = fileno( inf ); fl = fcntl(fd, F_GETFL, 0); if (new) fl |= O_NDELAY; else fl &= ~O_NDELAY; if (old != new) rv = fcntl(fd, F_SETFL, fl);#else /* No system dependent processing on the V7 or Berkeley systems. */#endif}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -