• 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: POSIX standards for types like uchar_t?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX standards for types like uchar_t?


  • Subject: Re: POSIX standards for types like uchar_t?
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Sun, 19 Nov 2006 20:13:39 +0900


On Nov 17, 2006, at 9:32 AM, Rick Mann wrote:

Some of the code I'm trying to port from Solaris uses uchar_t. In the Solaris header file, there's a comment that suggests uchar_t is a POSIX-standard name for the type, but I can't find that type defined anywhere under /usr on my Mac OS X machine. Since Mac OS X is purportedly POSIX-compliant, I was wondering how best to reconcile this?

One option is to include <sys/types.h> and change the instances to uint8_t, but if uchar_t is a POSIX-defined required type, is Mac OS X wrong?

The opengroup website has documentation for the POSIX/Single Unix Specification standards, so doing a site:opengroup.org restricted search in google will usually yield results for actual standards. Note that standards provide a baseline, an OS can add functions and typedefs and still remain standards compliant. Would be a bit limiting otherwise :)


Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >POSIX standards for types like uchar_t? (From: Rick Mann <email@hidden>)

  • Prev by Date: missing headers
  • Next by Date: Re: #define DARWIN set by Xcode?
  • Previous by thread: Re: POSIX standards for types like uchar_t?
  • Next by thread: Re: POSIX standards for types like uchar_t?
  • Index(es):
    • Date
    • Thread