unix.statfs etc: Naming conflicts.
parent
c88760128d
commit
20e14a96df
|
@ -33,10 +33,10 @@ M: macosx file-systems ( -- array )
|
|||
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' )
|
||||
{
|
||||
|
|
|
@ -115,5 +115,5 @@ STRUCT: statfs64
|
|||
{ 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 ) ;
|
||||
|
|
|
@ -20,4 +20,4 @@ STRUCT: statvfs
|
|||
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 ) ;
|
||||
|
|
Loading…
Reference in New Issue