cosmopolitan/libc/sysv/errfuns/enetreset.S

13 lines
194 B
ArmAsm

#include "libc/macros.h"
.text.unlikely
enetreset:
.leafprologue
.profilable
mov ENETRESET(%rip),%eax
mov %eax,errno(%rip)
push $-1
pop %rax
.leafepilogue
.endfn enetreset,globl,hidden