Re: POSIX standards for types like uchar_t?
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