ack/plat/osxppc/libsys
George Koehler 466bc555fe Add getdirentries() and stat() for Mac OS X.
Also add fstat() and lstat().  I don't #define the constants for
st_mode or d_type, but I provide enough to get the block size of a
file and to list the names in a directory.  Some fields of struct stat
get truncated, see XXX in plat/osx/include/sys/stat.h.

In struct dirent, the inode field might be d_ino or d_fileno.  I
picked d_ino because Apple's sys/dirent.h uses d_ino (but Apple's
manual pages use d_fileno).
2016-11-28 14:32:49 -05:00
..
_exit.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
build.lua Add getdirentries() and stat() for Mac OS X. 2016-11-28 14:32:49 -05:00
close.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
fstat.s Add getdirentries() and stat() for Mac OS X. 2016-11-28 14:32:49 -05:00
getdirentries.s Add getdirentries() and stat() for Mac OS X. 2016-11-28 14:32:49 -05:00
getpid.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
gettimeofday.s Make working gettimeofday() for Mac OS X. 2016-11-23 13:25:55 -05:00
ioctl.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
kill.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
lseek.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
lstat.s Add getdirentries() and stat() for Mac OS X. 2016-11-28 14:32:49 -05:00
mmap.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
mprotect.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
open.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
read.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
set_errno.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
sigaction.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
stat.s Add getdirentries() and stat() for Mac OS X. 2016-11-28 14:32:49 -05:00
write.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00