exit_group

Section: System Calls (2)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

exit_group - プロセス中の全てのスレッドを exit させる  

ライブラリ

標準 C ライブラリ (libc,~-lc)  

書式

#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).  

説明

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

返り値

このシステムコールは値を返さない。  

標準規格

Linux.  

歴史

Linux 2.5.35.  

注意

glibc 2.3 以降では、 _exit(2) のラッパー関数が呼び出された際に、 このシステムコールが起動される。  

関連項目

_exit(2)


 

Index

名前
ライブラリ
書式
説明
返り値
標準規格
歴史
注意
関連項目

This document was created by man2html, using the manual pages.