ack/plat/osx386/libsys
George Koehler b6b707d9df Make working gettimeofday() for Mac OS X.
The system call puts the time in a pair of registers, not in the
timeval structure.  Add code to move the time to the structure, so
programs see the correct time, not garbage.  This fixes our example
programs that use the time as a random seed.
2016-11-23 13:25:55 -05:00
..
_exit.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
build.lua Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00
close.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04: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
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
write.s Commit a preview of osx386 and osxppc as new platforms. 2016-10-02 14:58:05 -04:00