unix.stat: Rename stat.

db4
Doug Coleman 2013-03-23 22:36:12 -07:00
parent 20e14a96df
commit 5732c61f12
2 changed files with 2 additions and 2 deletions
basis/unix/stat

View File

@ -30,6 +30,6 @@ FUNCTION: int stat64 ( c-string pathname, stat* buf ) ;
FUNCTION: int lstat64 ( c-string pathname, stat* buf ) ;
FUNCTION: int fstat64 ( int fd, stat* buf ) ;
: stat ( path buf -- n ) stat64 ;
: stat-func ( path buf -- n ) stat64 ;
: lstat ( path buf -- n ) lstat64 ;
: fstat ( fd buf -- n ) fstat64 ;

View File

@ -27,7 +27,7 @@ TYPEDEF: fsid fsid_t
} case >>
: file-status ( pathname -- stat )
\ stat <struct> [ [ stat ] unix-system-call drop ] keep ;
\ stat <struct> [ [ stat-func ] unix-system-call drop ] keep ;
: link-status ( pathname -- stat )
\ stat <struct> [ [ lstat ] unix-system-call drop ] keep ;