comparison src/xterm.c @ 16330:e4d9d77012bc

(XTread_socket): Delete WAITP arg.
author Richard M. Stallman <rms@gnu.org>
date Wed, 25 Sep 1996 08:00:39 +0000
parents a02555b4b2b9
children dfe3713f8c75
comparison
equal deleted inserted replaced
16329:08514f491f33 16330:e4d9d77012bc
3232 Events representing keys are stored in buffer BUFP, 3232 Events representing keys are stored in buffer BUFP,
3233 which can hold up to NUMCHARS characters. 3233 which can hold up to NUMCHARS characters.
3234 We return the number of characters stored into the buffer, 3234 We return the number of characters stored into the buffer,
3235 thus pretending to be `read'. 3235 thus pretending to be `read'.
3236 3236
3237 WAITP is nonzero if we should block until input arrives.
3238 EXPECTED is nonzero if the caller knows input is available. */ 3237 EXPECTED is nonzero if the caller knows input is available. */
3239 3238
3240 int 3239 int
3241 XTread_socket (sd, bufp, numchars, waitp, expected) 3240 XTread_socket (sd, bufp, numchars, expected)
3242 register int sd; 3241 register int sd;
3243 /* register */ struct input_event *bufp; 3242 /* register */ struct input_event *bufp;
3244 /* register */ int numchars; 3243 /* register */ int numchars;
3245 int waitp; 3244 int waitp;
3246 int expected; 3245 int expected;