text
stringlengths 0
234
|
---|
the function |
.br _exit () |
is like |
.br exit (3), |
but does not call any |
functions registered with |
.br atexit (3) |
or |
.br on_exit (3). |
open |
.br stdio (3) |
streams are not flushed. |
on the other hand, |
.br _exit () |
does close open file descriptors, and this may cause an unknown delay, |
waiting for pending output to finish. |
if the delay is undesired, |
it may be useful to call functions like |
.br tcflush (3) |
before calling |
.br _exit (). |
whether any pending i/o is canceled, and which pending i/o may be |
canceled upon |
.br _exit (), |
is implementation-dependent. |
.ss c library/kernel differences |
in glibc up to version 2.3, the |
.br _exit () |
wrapper function invoked the kernel system call of the same name. |
since glibc 2.3, the wrapper function invokes |
.br exit_group (2), |
in order to terminate all of the threads in a process. |
.pp |
the raw |
.br _exit () |
system call terminates only the calling thread, and actions such as |
reparenting child processes or sending |
.b sigchld |
to the parent process are performed only if this is |
the last thread in the thread group. |
.\" _exit() is used by pthread_exit() to terminate the calling thread |
.sh see also |
.br execve (2), |
.br exit_group (2), |
.br fork (2), |
.br kill (2), |
.br wait (2), |
.br wait4 (2), |
.br waitpid (2), |
.br atexit (3), |
.br exit (3), |
.br on_exit (3), |
.br termios (3) |
.sh colophon |
this page is part of release 5.13 of the linux |
.i man-pages |
project. |
a description of the project, |
information about reporting bugs, |
and the latest version of this page, |
can be found at |
\%https://www.kernel.org/doc/man\-pages/. |
.so man3/div.3 |
.so man3/rpc.3 |
.\" copyright (c) 1995, thomas k. dyas <[email protected]> |
.\" |
.\" %%%license_start(verbatim) |
.\" permission is granted to make and distribute verbatim copies of this |
.\" manual provided the copyright notice and this permission notice are |
.\" preserved on all copies. |
.\" |
.\" permission is granted to copy and distribute modified versions of this |
.\" manual under the conditions for verbatim copying, provided that the |
.\" entire resulting derived work is distributed under the terms of a |
.\" permission notice identical to this one. |
.\" |
.\" since the linux kernel and libraries are constantly changing, this |
.\" manual page may be incorrect or out-of-date. the author(s) assume no |
.\" responsibility for errors or omissions, or for damages resulting from |
.\" the use of the information contained herein. the author(s) may not |
.\" have taken the same level of care in the production of this manual, |
.\" which is licensed free of charge, as they might when working |
.\" professionally. |
.\" |
.\" formatted or processed versions of this manual, if unaccompanied by |
.\" the source, must acknowledge the copyright and authors of this work. |
.\" %%%license_end |
.\" |
.\" created 1995-08-09 thomas k. dyas <[email protected]> |
.\" modified 1997-01-31 by eric s. raymond <[email protected]> |
.\" modified 2001-03-22 by aeb |
.\" modified 2003-08-04 by aeb |
.\" |
.th ustat 2 2021-03-22 "linux" "linux programmer's manual" |
.sh name |
ustat \- get filesystem statistics |
.sh synopsis |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.