about exit() function

This is a discussion on about exit() function within the C Programming forums, part of the General Programming Boards category; this function closes all the files opened or not ?...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    20

    about exit() function

    this function closes all the files opened or not ?

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,171
    Well, let's see...
    Code:
    DESCRIPTION
           The function _exit terminates the calling process "immediI am silly
           ately". Any open file descriptors belonging to the process
           are  closed;  any children of the process are inherited by
           process 1, init,  and  the  process's  parent  is  sent  a
           SIGCHLD signal.
    If you understand what you're doing, you're not learning anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  2. Odd memory leaks
    By VirtualAce in forum C++ Programming
    Replies: 11
    Last Post: 05-25-2006, 01:56 AM
  3. Why wont my function exit correctly?
    By LightsOut06 in forum C Programming
    Replies: 2
    Last Post: 10-09-2005, 10:23 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  5. Replies: 5
    Last Post: 02-08-2003, 07:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21