Path: utzoo!attcan!darkover!nebulus!tmsoft!masnet!canremote!mark.freedman From: mark.freedman@canremote.uucp (MARK FREEDMAN) Newsgroups: comp.lang.c Subject: Re: Turbo C stack control Message-ID: <90020320161527@masnet.uucp> Date: 4 Feb 90 00:17:00 GMT Organization: Canada Remote Systems Limited, Mississauga, ON, Canada Lines: 17 bS>Question: In Turbo C, how can you tell how much stack you have left? bS>Is there a variable that contains that information? If you find that bS>there is some conflict or your margins are getting close, how can you bS>open up some more stack space? References to stack in the index bS>don't seem to point to anything along this line of questioning. I suggest turning on stack overflow checking (Options / Compiler/ Code Generation) to determine if that's the problem. This option is described on page 119 of the User's guide. I'm sure that the command line compiler has a similar option. The stack size is set by the global _stklen, described on p. 30 of the Reference Guide. It defaults to 4K. mark.freedman@canremote.uucp --- ~ DeLuxe 1.11a20 #4219