TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peyton Bay
from: Marcel Vandevusse
date: 1995-12-07 18:59:04
subject: malloc question

Replying to a message of Peyton Bay to All:

 PB> The size parameter in malloc is defined as an unsigned integer in the
 PB> header files for CSet++. Does this mean that allocations are limited
 PB> to 65535 elements or am I misinterpreting something? Thanks. Peyton

With OS/2 being a 32 bit operating system, an integer is defined as being
32 bits (same as a long int). A short int is still 16.

Marcel,
[Team OS/2]

--- FleetStreet 1.12 NR
* Origin: The Legacy Continues (1:2265/60.1)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809
@PATH: 666/106 2265/60 2215/1 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.