• 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
Decoding OSStatus values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Decoding OSStatus values


  • Subject: Decoding OSStatus values
  • From: Richard Dearlove <email@hidden>
  • Date: Wed, 15 Oct 2008 15:49:59 +0100

Is there an easy way to decode the values from OSStatus. I have this #define that I copied from another project but it isnt really helping..

This gives me an error such as 	Error: \316\377\377\377

#define checkStatus( err) \
if(err) {\
printf("Error: %s ->  %s: %d\n", (char *)&err,__FILE__, __LINE__);\
fflush(stdout);\
return err; \
}

cheers
RD

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Decoding OSStatus values
      • From: Peter Ammon <email@hidden>
    • Re: Decoding OSStatus values
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Providing replicable views in IB
  • Next by Date: Re: Decoding OSStatus values
  • Previous by thread: Serial port over Bluetooth or not?
  • Next by thread: Re: Decoding OSStatus values
  • Index(es):
    • Date
    • Thread