Unix Technical Forum

Re: char signed or unsinged ? (was Netscape 7 issues)

This is a discussion on Re: char signed or unsinged ? (was Netscape 7 issues) within the comp.unix.solaris forums, part of the Solaris Operating System category; --> js@cs.tu-berlin.de (Joerg Schilling) writes in comp.unix.solaris: |But limits.h is a SysV file and not a standard file. |Better is ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 12:27 PM
Alan Coopersmith
 
Posts: n/a
Default Re: char signed or unsinged ? (was Netscape 7 issues)

js@cs.tu-berlin.de (Joerg Schilling) writes in comp.unix.solaris:
|But limits.h is a SysV file and not a standard file.
|Better is to include inttypes.h and use uint8_t & int8_t

I think you've got that backwards. limits.h & CHAR_MIN are required
by the C89 standard - better to use them than the C99 addition of
inttypes.h which isn't as widespread yet.

--
__________________________________________________ ______________________
Alan Coopersmith alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM
Working for, but definitely not speaking for, Sun Microsystems, Inc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com