M: macosx new-file-system-info macosx-file-system-info new ;
M: macosx file-system-statfs ( normalized-path -- statfs )
- \ statfs64 <struct> [ statfs64 io-error ] keep ;
+ \ statfs64 <struct> [ statfs64-func io-error ] keep ;
M: macosx file-system-statvfs ( normalized-path -- statvfs )
- \ statvfs <struct> [ statvfs io-error ] keep ;
+ \ statvfs <struct> [ statvfs-func io-error ] keep ;
M: macosx statfs>file-system-info ( file-system-info byte-array -- file-system-info' )
{
{ f_mntfromname { char MAXPATHLEN } }
{ f_reserved uint32_t[8] } ;
-FUNCTION: int statfs64 ( c-string path, statfs64* buf ) ;
+FUNCTION-ALIAS: statfs64-func int statfs64 ( c-string path, statfs64* buf ) ;
FUNCTION: int getmntinfo64 ( statfs64** mntbufp, int flags ) ;
CONSTANT: ST_RDONLY 0x1 ! Read-only file system
CONSTANT: ST_NOSUID 0x2 ! Does not honor setuid/setgid
-FUNCTION: int statvfs ( c-string path, statvfs* buf ) ;
+FUNCTION-ALIAS: statvfs-func int statvfs ( c-string path, statvfs* buf ) ;