cosmopolitan/libc/sysv/errfuns/econnreset.S

13 lines
197 B
ArmAsm

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