cosmopolitan/libc/sysv/errfuns/enotconn.S

15 lines
227 B
ArmAsm
Raw Normal View History

#include "libc/macros.internal.h"
2020-06-15 14:18:57 +00:00
.text.unlikely
2022-05-16 20:20:08 +00:00
.section .privileged,"ax",@progbits
2020-06-15 14:18:57 +00:00
enotconn:
.leafprologue
2022-05-16 20:20:08 +00:00
mov ENOTCONN(%rip),%ecx
.errno
mov %ecx,(%rax)
2020-06-15 14:18:57 +00:00
push $-1
pop %rax
.leafepilogue
.endfn enotconn,globl,hidden