🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #996

Turbo C stack program

#996
From: Andy Sun Anu-guest
Date: Fri, 20 Jul 1990 02:38
17 lines
1295 bytes
Hi,

Does anybody out there know if I can alter the stack size (increase it to be
specific) in Turbo C? And if yes, how can it be done? I got a stack overflow
error in my program (compiled using small model) and after I flipped through
all the manuals, I still cannot find anything that allow me to change the
stack size (there is a global variable called _stklen, but it doesn't mention
exactly how it is used). I CANNOT use anything higher than small model since
I will have a memory allocation error (insufficient memory). BTW, I am using
Turbo C version 1.5. Any suggestion and advises are welcome.

Andy

_______________________________________________________________________________
Andy Sun                            | Internet: sun@me.utoronto.ca
University of Toronto, Canada       | UUCP    : ...!utai!me!sun
Dept. of Mechanical Engineering     | BITNET  : sun@me.utoronto.BITNET
Technical Details
Message-ID: <90Jul19.223807edt.20138@me.utoronto.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!me!sun

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!me!sun
Newsgroups: comp.sys.ibm.pc.programmer
From: sun@me.utoronto.ca (Andy Sun Anu-guest)
Subject: Turbo C stack program
Message-ID: <90Jul19.223807edt.20138@me.utoronto.ca>
Reply-To: sun@hammer.me.UUCP (Andy Sun Anu-guest)
Organization: University of Toronto, Department of Mechanical Engineering
Date: 20 Jul 90 02:38:17 GMT