1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(setsid)
6    movl    $__NR_setsid, %eax
7    int     $0x80
8    cmpl    $-MAX_ERRNO, %eax
9    jb      1f
10    negl    %eax
11    pushl   %eax
12    call    __set_errno_internal
13    addl    $4, %esp
141:
15    ret
16END(setsid)
17