Initial import
This commit is contained in:
12
libc/sysv/errfuns/ebadmsg.S
Normal file
12
libc/sysv/errfuns/ebadmsg.S
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadmsg:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADMSG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadmsg,globl,hidden
|
||||
Reference in New Issue
Block a user