summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64/syscalls/__rt_sigsuspend.S
blob: f6366a22f5fc938e41c45c5e78b544aba8b7f524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Generated by gensyscalls.py. Do not edit. */

#include <private/bionic_asm.h>

ENTRY(__rt_sigsuspend)
    movl    $__NR_rt_sigsuspend, %eax
    syscall
    cmpq    $-MAX_ERRNO, %rax
    jb      1f
    negl    %eax
    movl    %eax, %edi
    call    __set_errno_internal
1:
    ret
END(__rt_sigsuspend)
.hidden __rt_sigsuspend