1 /* Useful #includes and #defines for programming a set of Unix
2 look-alike file system access functions on the Macintosh.
3 Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).
17 #include "errno_unix.h"
18 #include <TextUtils.h>
21 /* We may be able to use a std routine in think, don't know */
22 unsigned char *Pstring(char *);
24 /* Macro to find out whether we can do HFS-only calls: */
25 #define FSFCBLen (* (short *) 0x3f6)
26 #define hfsrunning() (FSFCBLen > 0)
28 /* Universal constants: */