[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.21,1.22
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.21,1.22 |
Date: |
Tue, 22 Jul 2003 20:38:12 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv1728/include
Modified Files:
il_utils.h
Log Message:
Move the console input code to "support" so that it is easier to redirect.
Index: il_utils.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_utils.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** il_utils.h 9 Feb 2003 00:11:16 -0000 1.21
--- il_utils.h 23 Jul 2003 00:38:09 -0000 1.22
***************
*** 510,513 ****
--- 510,534 ----
void *ILQueueRemove(ILQueueEntry **listRoot);
+ /*
+ * Get a single character from the input stream.
+ */
+ int ILInputGetChar(void);
+
+ /*
+ * Push a character back into the input stream.
+ */
+ void ILInputUngetChar(int ch);
+
+ /*
+ * Read a single line from the input stream, including the terminating '\n'.
+ * Returns zero if EOF is detected.
+ */
+ int ILInputReadLine(void *buffer, int len);
+
+ /*
+ * Read a buffer of bytes from the input stream.
+ */
+ int ILInputRead(void *buffer, int len);
+
#ifdef __cplusplus
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.21,1.22,
Rhys Weatherley <address@hidden> <=