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

📄 on

📁 Algorithms for Image Processing and Computer Vision Source Code
💻
字号:
@c ----------------------------------------------------------------------
@node on_exit, process
@heading @code{on_exit}
@subheading Syntax

@example
#include <atexit.h>

int on_exit(void (*func)(int), int value);
@end example

@subheading Description

This function registers a function to be called when the program is
exiting.  The function is passed the @var{value} registered. 
@xref{atexit}

@subheading Return Value

Zero on success, nonzero on failure.

@subheading Example

@example
void my_exiter(int arg)
@{
  cleanup_me(arg, 1);
@}

on_exit(my_exiter, 4);
@end example

⌨️ 快捷键说明

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