mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +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
|
@ -23,10 +23,10 @@
|
|||
#include "libc/sock/yoink.inc"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
textwindows int closesocket$nt(int fd) {
|
||||
textwindows int sys_closesocket_nt(int fd) {
|
||||
int rc;
|
||||
if (!__isfdkind(fd, kFdSocket)) return ebadf();
|
||||
if (__closesocket$nt(g_fds.p[fd].handle) != -1) {
|
||||
if (__sys_closesocket_nt(g_fds.p[fd].handle) != -1) {
|
||||
rc = 0;
|
||||
} else {
|
||||
rc = __winsockerr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue