[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getrlimit( RLIMIT_STACK, ... )



Is there any particular reason why getrlimit( RLIMIT_STACK, &foo ) isn't
implemented (it's supposed to return the max size of the stack)? 
Couldn't it figure out the right value from _stksize?

It might make more sense to put this in the kernel (?), since it already
knows how big the stack is for a process (it figures it out from
_stksize and possibly the amount of RAM allowed for the process).

-- 
----------========================================================----------
Chris Herborth, R&D Technical Writer       Arcane  Dragon     chrish@qnx.com
QNX Software Systems, Ltd.                  -==(UDIC)==-         |||  JAGUAR
http://www.qnx.com/~chrish/                     DNRC            / | \ 64-bit