version 1.64, 2006/05/10 21:09:45 |
version 1.66, 2006/11/22 17:23:24 |
Line 106 typedef struct __sFILE { |
|
Line 106 typedef struct __sFILE { |
|
unsigned char *_p; /* current position in (some) buffer */ |
unsigned char *_p; /* current position in (some) buffer */ |
int _r; /* read space left for getc() */ |
int _r; /* read space left for getc() */ |
int _w; /* write space left for putc() */ |
int _w; /* write space left for putc() */ |
short _flags; /* flags, below; this FILE is free if 0 */ |
unsigned short _flags; /* flags, below; this FILE is free if 0 */ |
short _file; /* fileno, if Unix descriptor, else -1 */ |
short _file; /* fileno, if Unix descriptor, else -1 */ |
struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */ |
struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */ |
int _lbfsize; /* 0 or -_bf._size, for inline putc */ |
int _lbfsize; /* 0 or -_bf._size, for inline putc */ |
|
|
#define __SOFF 0x1000 /* set iff _offset is in fact correct */ |
#define __SOFF 0x1000 /* set iff _offset is in fact correct */ |
#define __SMOD 0x2000 /* true => fgetln modified _p text */ |
#define __SMOD 0x2000 /* true => fgetln modified _p text */ |
#define __SALC 0x4000 /* allocate string space dynamically */ |
#define __SALC 0x4000 /* allocate string space dynamically */ |
|
#define __SAFE 0x8000 /* don't call signal-unsafe functions */ |
|
|
/* |
/* |
* The following three definitions are for ANSI C, which took them |
* The following three definitions are for ANSI C, which took them |