00001 #ifndef GETINPUT_H
00002 #define GETINPUT_H
00003
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007
00008 /*
00009 getinput() returns the number of chars read, or 0 if no
00010 chars were available. It doesn't block, so you can call this
00011 repeatedly and when it returns non-zero you have that many chars,
00012 not including the added NULL.
00013 */
00014 extern int getinput(char *buffer, int maxchars);
00015
00016 #ifdef __cplusplus
00017 }
00018 #endif
00019
00020 #endif
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001