Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
482952ef
Commit
482952ef
authored
Nov 13, 1993
by
Richard M. Stallman
Browse files
(read_avail_input) [no FIONREAD]: On DGUX, as on USG,
read input with O_NDELAY.
parent
bb292747
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/keyboard.c
src/keyboard.c
+1
-1
No files found.
src/keyboard.c
View file @
482952ef
...
...
@@ -3044,7 +3044,7 @@ read_avail_input (expected)
if
(
nread
>
sizeof
cbuf
)
nread
=
sizeof
cbuf
;
#else
/* no FIONREAD */
#ifdef
USG
#if
def
ined(USG) || defined(DGUX)
/* Read some input if available, but don't wait. */
nread
=
sizeof
cbuf
;
fcntl
(
fileno
(
stdin
),
F_SETFL
,
O_NDELAY
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment