This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: htonl, htons, ntohl and ntohs types


Hi,

Lars Munch, le Fri 21 Apr 2006 14:27:40 +0200, a écrit :
> > That's on purpose: on windows, ints are 16bits.
> 
> How can that be when sizeof(int) returns 4 with cygwin gcc on a 32bit
> windows?

That depends on the compiler.

Regards,
Samuel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]