diff options
Diffstat (limited to 'dosish.h')
-rw-r--r-- | dosish.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1 +1,14 @@ #define ABORT() abort(); + +/* + * fwrite1() should be a routine with the same calling sequence as fwrite(), + * but which outputs all of the bytes requested as a single stream (unlike + * fwrite() itself, which on some systems outputs several distinct records + * if the number_of_items parameter is >1). + */ +#define fwrite1 fwrite + +#define Stat(fname,bufptr) stat((fname),(bufptr)) +#define Fstat(fd,bufptr) fstat((fd),(bufptr)) + +#define my_getenv(var) getenv(var) |