08-04-2013 09:18 AM - last edited on 08-04-2013 07:35 PM by maikoro
I have cheked online and I see many posts on how to set these values. I can't seem to find how to check/get the value though. Does anybody know or have any links which are related to printing the values? Thanks.
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > languages. - Hp Forum Moderator
Solved! Go to Solution.
08-04-2013 11:39 PM - edited 08-04-2013 11:40 PM
I thought the value was set by default like a kernel parameter (hence my post in the System Admin section). I remember reading somewhere that the default value for _M_ARENA_OPTS is 1:8.
08-05-2013 12:01 AM - edited 08-05-2013 12:02 AM
>I thought the value was set by default like a kernel parameter
No, these are libc variables.
>the default value for _M_ARENA_OPTS is 1:8.
The defaults are listed under malloc(3):