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: Chris Ridd <email@hidden>
- Date: Fri, 17 Nov 2006 07:03:26 +0000
- Thread-topic: POSIX standards for types like uchar_t?
On 17/11/06 12:32, Rick Mann <email@hidden> 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?
These sorts of typedefs are defined in <stdint.h>, which I think was
introduced in the updated C standard "C99".
Cheers,
Chris
_______________________________________________
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