Re: a question regarding <sys/shm.h>
- From: des@xxxxxx (Dag-Erling Smørgrav)
- Date: Wed, 31 Jan 2007 11:05:17 +0100
Pascal Hofstee <caelian@xxxxxxxxx> writes:
Any additional sugestions/objections are always greatly appreciated.
On 32-bit platforms (i386, powerpc), int is a 32-bit signed integer
while size_t is a 32-bit unsigned integer.
On 64-bit platforms (amd64, sparc64 etc), int is a 32-bit signed
integer while size_t is a 64-bit unsigned integer.
In both cases, changing this structure member from int to size_t will
break the ABI.
This doesn't mean you shouldn't do it, just that it should be done
with care.
DES
--
Dag-Erling Smørgrav - des@xxxxxx
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: a question regarding <sys/shm.h>
- From: Robert Watson
- Re: a question regarding <sys/shm.h>
- References:
- a question regarding <sys/shm.h>
- From: Pascal Hofstee
- Re: a question regarding <sys/shm.h>
- From: Peter Jeremy
- Re: a question regarding <sys/shm.h>
- From: Pascal Hofstee
- a question regarding <sys/shm.h>
- Prev by Date: Re: a question regarding <sys/shm.h>
- Next by Date: Re: sysctl(3) interface
- Previous by thread: Re: a question regarding <sys/shm.h>
- Next by thread: Re: a question regarding <sys/shm.h>
- Index(es):
Relevant Pages
|