Is it possible to change (more precisely, to increase) during the execution of the program the amount of memory available to the stack? Linux, gcc.

    1 answer 1

    Everything. I figured it out myself.

    You can use setrlimit (RLIMIT_STACK, struct rlimit ...) .