Remove dollars from system call support symbols

This commit is contained in:
Justine Tunney 2021-02-03 19:35:29 -08:00
parent a8d7195777
commit a37960a3af
743 changed files with 1380 additions and 2016 deletions

View file

@ -26,7 +26,7 @@
#define CLOEXEC 0x00080000
#define NONBLOCK 0x00000800
textwindows int socket$nt(int family, int type, int protocol) {
textwindows int sys_socket_nt(int family, int type, int protocol) {
int fd;
uint32_t yes;
if ((fd = __reservefd()) == -1) return -1;
@ -34,8 +34,8 @@ textwindows int socket$nt(int family, int type, int protocol) {
protocol, NULL, 0, 0)) != -1) {
if (type & NONBLOCK) {
yes = 1;
if (__ioctlsocket$nt(g_fds.p[fd].handle, FIONBIO, &yes) == -1) {
__closesocket$nt(g_fds.p[fd].handle);
if (__sys_ioctlsocket_nt(g_fds.p[fd].handle, FIONBIO, &yes) == -1) {
__sys_closesocket_nt(g_fds.p[fd].handle);
return __winsockerr();
}
}