exit() in C

This is a discussion on exit() in C within the C Programming forums, part of the General Programming Boards category; what r the differnt values for exit() and wht do they stand for?...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    1

    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
    Posts
    134
    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
    Posts
    6,231
    >>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-10-2009, 12:35 AM
  2. Odd memory leaks
    By VirtualAce in forum C++ Programming
    Replies: 11
    Last Post: 05-25-2006, 01:56 AM
  3. Replies: 1
    Last Post: 03-21-2006, 07:52 AM
  4. Dynamic array of pointers
    By csisz3r in forum C Programming
    Replies: 8
    Last Post: 09-25-2005, 03:06 PM
  5. exit() ?
    By smd in forum C++ Programming
    Replies: 4
    Last Post: 06-26-2002, 05:31 PM

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