cosmopolitan/libc/nt/ws2_32/WSASetLastError.s

16 lines
276 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp ws2_32,__imp_WSASetLastError,WSASetLastError,112
.text.windows
WSASetLastError:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_WSASetLastError(%rip)
leave
ret
.endfn WSASetLastError,globl
.previous