cosmopolitan/libc/nt/ws2_32/GetHostNameW.S

15 lines
256 B
ArmAsm
Raw Normal View History

2023-05-02 02:43:59 +00:00
#include "libc/nt/codegen.h"
2020-06-15 14:18:57 +00:00
.imp ws2_32,__imp_GetHostNameW,GetHostNameW,33
2023-05-02 02:43:59 +00:00
#ifdef __x86_64__
.text.windows
GetHostName:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetHostNameW(%rip),%rax
jmp __sysv2nt
.endfn GetHostName,globl
.previous
2023-05-02 02:43:59 +00:00
#endif