cosmopolitan/libc/sysv/errfuns/espipe.S

12 lines
193 B
ArmAsm
Raw Normal View History

#include "libc/macros.internal.h"
2020-06-15 14:18:57 +00:00
.text.unlikely
espipe: .leafprologue
.profilable
mov ESPIPE(%rip),%eax
mov %eax,errno(%rip)
push $-1
pop %rax
.leafepilogue
.endfn espipe,globl,hidden