home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / exit.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. EXIT(3)                    UNIX Programmer's Manual                    EXIT(3)
  3.  
  4. NNAAMMEE
  5.      eexxiitt - perform normal program termination
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttddlliibb..hh>>
  9.  
  10.      _v_o_i_d
  11.      eexxiitt(_i_n_t _s_t_a_t_u_s)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      EExxiitt() terminates a process.
  15.  
  16.      Before termination it performs the following functions in the order list­
  17.      ed:
  18.  
  19.            1.   Call the functions registered with the atexit(3) function, in
  20.                 the reverse order of their registration.
  21.  
  22.            2.   Flush all open output streams.
  23.  
  24.            3.   Close all open streams.
  25.  
  26.            4.   Unlink all files created with the tmpfile(3) function.
  27.  
  28. RREETTUURRNN VVAALLUUEESS
  29.      The eexxiitt() function never returns.
  30.  
  31. SSEEEE AALLSSOO
  32.      _exit(2),  atexit(3),  intro(3),  tmpfile(3)
  33.  
  34. SSTTAANNDDAARRDDSS
  35.      The eexxiitt() function conforms to ANSI C3.159­1989 (``ANSI C'').
  36.  
  37. BSD Experimental                 June 29, 1991                               1
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.