version 1.3, 2000/08/22 05:04:28 |
version 1.4, 2000/11/13 01:48:13 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/stdio.c,v 1.2 2000/08/21 08:31:47 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/stdio.c,v 1.3 2000/08/22 05:04:28 noro Exp $ |
*/ |
*/ |
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
Line 63 static struct w_buf { |
|
Line 63 static struct w_buf { |
|
static int noflush; |
static int noflush; |
|
|
#define INBUF_EMPTY (W_BUF.inpos >= W_BUF.inlen) |
#define INBUF_EMPTY (W_BUF.inpos >= W_BUF.inlen) |
|
|
|
void w_purge_stdin(void) |
|
{ |
|
W_BUF.inpos = 0; |
|
W_BUF.inlen = 0; |
|
} |
|
|
int w_filbuf(void) |
int w_filbuf(void) |
{ |
{ |