Program support utilities
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
目录 |
[编辑] 程序终止
以下功能管理程序的终止和资源清理.
Original:
The following functions manage program termination and resource cleanup.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| Defined in header
<cstdlib> | |
| 导致程序异常终止(不清洗) Original: causes abnormal program termination (without cleaning up) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 清理,会导致正常的程序终止 Original: causes normal program termination with cleaning up The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| (C++11) |
没有完全清理,会导致正常的程序终止 Original: causes normal program termination without completely cleaning up The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| (C++11) |
没有清理,会导致正常的程序终止 Original: causes normal program termination without cleaning up The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| 注册exit()调用一个函数被调用 Original: registers a function to be called on exit() invocation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| (C++11) |
注册quick_exit调用一个函数被调用 Original: registers a function to be called on quick_exit invocation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| 表示执行程序执行状态 Original: indicates program execution execution status The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (宏不变) | |
[编辑] 与环境沟通
| 调用主机环境的命令处理器 Original: calls the host environment's command processor The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 访问列表中的环境变量 Original: access to the list of environment variables The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
[编辑] 信号
提供了几个功能和信号管理的宏观常数.
Original:
Several functions and macro constants for signal management are provided.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| Defined in header
<csignal> | |
| 设置一个特定信号的信号处理程序 Original: sets a signal handler for particular signal The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 运行特定信号的信号处理程序 Original: runs the signal handler for particular signal The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 整数类型,它可以作为一个原子实体从一个异步信号处理程序来访问 Original: the integer type that can be accessed as an atomic entity from an asynchronous signal handler The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (的typedef) | |
| 定义信号处理策略 Original: defines signal handling strategies The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (宏不变) | |
| signal指定遇到错误的返回值 Original: return value of signal specifying that an error was encountered The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (宏不变) | |
Original: Signal types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| 定义信号类型 Original: defines signal types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (宏不变) | |
[编辑] 非本地跳跃
| Defined in header
<csetjmp> | |
| 保存上下文 Original: saves the context The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数宏) | |
| 跳转到指定的位置 Original: jumps to specified location The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
Original: Types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| 执行上下文的类型 Original: execution context type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (的typedef) | |