⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exit.3

📁 操作系统设计与实现源码
💻 3
字号:
.\" Copyright (c) 1983 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)exit.3	6.2 (Berkeley) 5/12/86.\".TH EXIT 3 "May 12, 1986".UC 5.SH NAMEexit, atexit \- terminate a process after flushing any pending output.SH SYNOPSIS.nf.ft B#include <stdlib.h>void exit(int \fIstatus\fP)int atexit(void (*\fIfunc\fP)(void)).ft R.fi.SH DESCRIPTION.B Exitfirst calls all functions registered by.BR atexit ,flushes all data buffered by the Standard I/O library, and finallyterminates the process..B Exitnever returns..PP.B Atexitregisters the function.I funcinto a table of functions to be called on exit..SH "SEE ALSO".BR exit (2)..SH DIAGNOSTICS.B Atexitreturns 0 on success, \-1 if.B malloccannot allocate more memory for the list of registered functions.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -