mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +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
|
@ -27,11 +27,11 @@ int ioctl$default(int fd, uint64_t request, void *memory) {
|
|||
int rc;
|
||||
int64_t handle;
|
||||
if (!IsWindows()) {
|
||||
return ioctl$sysv(fd, request, memory);
|
||||
return sys_ioctl(fd, request, memory);
|
||||
} else if (__isfdopen(fd)) {
|
||||
if (g_fds.p[fd].kind == kFdSocket) {
|
||||
handle = g_fds.p[fd].handle;
|
||||
if ((rc = weaken(__ioctlsocket$nt)(handle, request, memory)) != -1) {
|
||||
if ((rc = weaken(__sys_ioctlsocket_nt)(handle, request, memory)) != -1) {
|
||||
return rc;
|
||||
} else {
|
||||
return weaken(__winsockerr)();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue