• 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
Re: Learning to program Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Learning to program Cocoa


  • Subject: Re: Learning to program Cocoa
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 28 Aug 2001 18:26:31 +0100

On Tuesday, August 28, 2001, at 04:33 pm, Ondra Cada wrote:

exit(0); // _E_nsure the process exit status is 0
return 0; // ...and make main fit the ANSI spec.

That's a bit redundant isn't it? exit with a return status of 0, and then exit with a return status of 0 (although the second one is never called)?

-- Finlay


  • Follow-Ups:
    • Re: Learning to program Cocoa
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Learning to program Cocoa (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: [NSBundle load] - does it work with .app bundles?
  • Next by Date: Re: Learning to program Cocoa
  • Previous by thread: Re: Learning to program Cocoa
  • Next by thread: Re: Learning to program Cocoa
  • Index(es):
    • Date
    • Thread