Atexit - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

atexit

register a function to call at program termination
Synopsis
#include <stdlib.h>
int atexit(void (*func)(void));
Description
The
function registers a function to be called at program termina-
atexit
tion. Functions are called once for each time they are registered, in the
reverse order of registration. Up to 32 functions can be registered using
.
atexit
Error Conditions
The
function returns a non-zero value if the function cannot be
atexit
registered.
Example
#include <stdlib.h>
extern void goodbye(void);
if (atexit(goodbye))
exit(1);
See Also
abort,
exit
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
C/C++ Run-Time Library
3-33

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents