The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

atexit (3)
  • atexit (3) ( Solaris man: Библиотечные вызовы )
  • >> atexit (3) ( FreeBSD man: Библиотечные вызовы )
  • atexit (3) ( Русские man: Библиотечные вызовы )
  • atexit (3) ( Linux man: Библиотечные вызовы )
  • atexit (3) ( POSIX man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    atexit
    
     - register a function to be called on exit
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <stdlib.h>
    int atexit (void (*function)(void));
     

    DESCRIPTION

    The atexit ();
    function registers the given Fa function to be called at program exit, whether via exit(3) or via return from the program's main (.);
    Functions so registered are called in reverse order; no arguments are passed.

    These functions must not call exit (;);
    if it should be necessary to terminate the process while in such a function, the _exit2 function should be used. (Alternatively, the function may cause abnormal process termination, for example by calling abort(3).)

    At least 32 functions can always be registered, and more are allowed as long as sufficient memory can be allocated.  

    RETURN VALUES

    Rv -std atexit  

    ERRORS

    Bq Er ENOMEM
    No memory was available to add the function to the list. The existing list of functions is unmodified.

     

    SEE ALSO

    exit(3)  

    STANDARDS

    The atexit ();
    function conforms to St -isoC .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO
    STANDARDS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру