• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Set exit code without using exit() ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set exit code without using exit() ?


  • Subject: Set exit code without using exit() ?
  • From: Rolf <email@hidden>
  • Date: Sun, 22 Jun 2003 20:41:55 +0200

Hi,

I need to set the exit code of a coca app before it exits. Using exit() works fine, but is this the recommended way of doing it ?
In the apps main() procedure there's a return NSApplicationMain(argc, argv). However, the actual return of exit code is not done from here when [NSApp terminate:self] is executed.

/Rolf
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSArray to argv-style string vector. How ?
  • Next by Date: Finding default Aqua control indent?
  • Previous by thread: Re: NSArray to argv-style string vector. How ?
  • Next by thread: Finding default Aqua control indent?
  • Index(es):
    • Date
    • Thread