Discussion on: So where is my stuff stored ? - Part 2

gowind profile image
Govind Author

I don't think this can be handled. unlike malloc where something like sbrk, a system call is used internally, this is no system call where you can check the return value, but upto the OS to decide a process can have a larger stack or not and can crash if the OS decides that this process cannot have more stack storage.