cosmopolitan/libc/sysv/errfuns/eacces.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
eacces: .leafprologue
.profilable
mov EACCES(%rip),%eax
mov %eax,errno(%rip)
push $-1
pop %rax
.leafepilogue
.endfn eacces,globl,hidden