exit_group(2) — Linux manual page

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUE | STANDARDS | HISTORY | NOTES | SEE ALSO

exit_group(2)              System Calls Manual             exit_group(2)

NAME         top

       exit_group - exit all threads in a process

LIBRARY         top

       Standard C library (libc, -lc)

SYNOPSIS         top

       #include <sys/syscall.h>       /* Definition of SYS_* constants */
       #include <unistd.h>

       [[noreturn]] void syscall(SYS_exit_group, int status);

       Note: glibc provides no wrapper for exit_group(), necessitating
       the use of syscall(2).

DESCRIPTION         top

       This system call terminates all threads in the calling process's
       thread group.

RETURN VALUE         top

       This system call does not return.

STANDARDS         top

       Linux.

HISTORY         top

       Linux 2.5.35.

NOTES         top

       Since glibc 2.3, this is the system call invoked when the
       _exit(2) wrapper function is called.

SEE ALSO         top

       _exit(2)

Linux man-pages (unreleased)     (date)                    exit_group(2)

Pages that refer to this page: _exit(2)ptrace(2)seccomp(2)syscalls(2)