clarify the purpose of this project
[nyanglibc.git] / rt / mq_close.s
blob79ad8269aeb5d24a29b67a11649e1a626956527d
1 .text
2 .p2align 4,,15
3 .globl mq_close
4 .type mq_close, @function
5 mq_close:
6 movl $3, %eax
7 #APP
8 # 27 "../sysdeps/unix/sysv/linux/mq_close.c" 1
9 syscall
11 # 0 "" 2
12 #NO_APP
13 cmpq $-4096, %rax
14 ja .L5
15 rep ret
16 .p2align 4,,10
17 .p2align 3
18 .L5:
19 movq errno@gottpoff(%rip), %rdx
20 negl %eax
21 movl %eax, %fs:(%rdx)
22 movl $-1, %eax
23 ret
24 .size mq_close, .-mq_close