mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +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
|
@ -47,9 +47,9 @@ ssize_t pread(int fd, void *buf, size_t size, int64_t offset) {
|
|||
rc = weaken(__zipos_read)(
|
||||
(struct ZiposHandle *)(intptr_t)g_fds.p[fd].handle, buf, size, offset);
|
||||
} else if (!IsWindows()) {
|
||||
rc = pread$sysv(fd, buf, size, offset);
|
||||
rc = sys_pread(fd, buf, size, offset);
|
||||
} else if (__isfdkind(fd, kFdFile)) {
|
||||
rc = read$nt(&g_fds.p[fd], (struct iovec[]){{buf, size}}, 1, offset);
|
||||
rc = sys_read_nt(&g_fds.p[fd], (struct iovec[]){{buf, size}}, 1, offset);
|
||||
} else {
|
||||
rc = ebadf();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue