CompuServe Messages

#Setting Stack Size

    05-Jul-92 20:47:19
Sb: #Setting Stack Size
Fm: Harold Scadden 71401,3035
To: All
Question for any of you C programmers. How do I go about setting the stack size for my program. I know that the program will assume the stack size of the CLI that it is running in etc.. but how would I make it so I can have a different stack size. I am running into the problem when it comes to writing doors for BBS programs. A lot of the BBS programs user VERY large stacks and I dont want my program to be executed using a 60K or larger stack! The standard 4K will suffice. I read that if the program is being executed from workbench that it will take its stack size requirements from the .info file and use that but what do I do in the case of another program just running mine? Any help would seriously be appreciated!