mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-16 23:50:32 +00:00
Remove dollars from system call support symbols
This commit is contained in:
parent
a8d7195777
commit
a37960a3af
743 changed files with 1380 additions and 2016 deletions
|
@ -22,9 +22,9 @@
|
|||
#include "libc/nexgen32e/nexgen32e.h"
|
||||
#include "libc/sock/internal.h"
|
||||
|
||||
int nanosleep$xnu(const struct timespec *req, struct timespec *rem) {
|
||||
int sys_nanosleep_xnu(const struct timespec *req, struct timespec *rem) {
|
||||
long millis;
|
||||
millis = div1000int64(req->tv_nsec);
|
||||
millis = MAX(1, millis);
|
||||
return select$sysv(0, 0, 0, 0, &(struct timeval){req->tv_sec, millis});
|
||||
return sys_select(0, 0, 0, 0, &(struct timeval){req->tv_sec, millis});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue