Thread: about exit() function

  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,218
    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, 02:39 PM
  2. Odd memory leaks
    By VirtualAce in forum C++ Programming
    Replies: 11
    Last Post: 05-25-2006, 12:56 AM
  3. Why wont my function exit correctly?
    By LightsOut06 in forum C Programming
    Replies: 2
    Last Post: 10-09-2005, 09:23 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Replies: 5
    Last Post: 02-08-2003, 07:42 PM