mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-04-10 09:48:44 +00:00
14 lines
314 B
ArmAsm
14 lines
314 B
ArmAsm
#include "libc/nt/codegen.h"
|
|
.imp kernel32,__imp_SetNamedPipeHandleState,SetNamedPipeHandleState,0
|
|
|
|
#ifdef __x86_64__
|
|
.text.windows
|
|
SetNamedPipeHandleState:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov __imp_SetNamedPipeHandleState(%rip),%rax
|
|
jmp __sysv2nt
|
|
.endfn SetNamedPipeHandleState,globl
|
|
.previous
|
|
#endif
|