summaryrefslogtreecommitdiff
path: root/dosish.h
blob: 8747f2d985f736b6e9df310552b85f8e5de00574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)