cosmopolitan/libc/nt/ws2_32/accept.S
2023-07-27 14:09:07 -07:00

18 lines
309 B
ArmAsm

#include "libc/nt/codegen.h"
.imp ws2_32,__imp_accept,accept,0
.text.windows
.ftrace1
__sys_accept_nt:
.ftrace2
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
mov __imp_accept(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn __sys_accept_nt,globl
.previous