Thread: exit() in C

  1. #1
    Registered User
    Join Date
    Feb 2003

    exit() in C

    what r the differnt values for exit() and wht do they stand for?

  2. #2
    Patent Pending GSLR's Avatar
    Join Date
    Sep 2001
    1 and above ok
    and zero not ok i guess
    And To All Those Opposed, WELL !!!
    >Deleted< " Looks like a serial no."

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    >>what r the differnt values for exit() and wht do they stand for?
    Those defined by the standard are 0 and EXIT_SUCCESS to represent an implementation defined version of success, and EXIT_FAILURE for failure. Any other values are implementation defined.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Chat Program Help?
    By Paul22000 in forum Networking/Device Communication
    Replies: 9
    Last Post: 02-09-2009, 11:35 PM
  2. Odd memory leaks
    By VirtualAce in forum C++ Programming
    Replies: 11
    Last Post: 05-25-2006, 12:56 AM
  3. Replies: 1
    Last Post: 03-21-2006, 06:52 AM
  4. Dynamic array of pointers
    By csisz3r in forum C Programming
    Replies: 8
    Last Post: 09-25-2005, 02:06 PM
  5. exit() ?
    By smd in forum C++ Programming
    Replies: 4
    Last Post: 06-26-2002, 04:31 PM
Website Security Test