Xref: utzoo comp.os.os2.programmer:502 comp.os.os2.misc:813 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!dali.cs.montana.edu!milton!yoda.eecs.wsu.edu!wbonner From: wbonner@eecs.wsu.edu (Wim Bonner) Newsgroups: comp.os.os2.programmer,comp.os.os2.misc Subject: Re: How to figure out the amount of stack space? Message-ID: <1991Mar09.201617.24064@eecs.wsu.edu> Date: 9 Mar 91 20:16:17 GMT References: <1991Mar09.000303.21960@eecs.wsu.edu> <1991Mar9.013432.11522@unicorn.cc.wwu.edu> Reply-To: wbonner@yoda.UUCP (Wim Bonner) Organization: Washington State University, Pullman Lines: 15 In article <1991Mar9.013432.11522@unicorn.cc.wwu.edu> n8840371@unicorn.cc.wwu.edu (Todd Crowe) writes: >Yes, you can enable stack checking in a PM program. The reason >that it is not recommended is that you the __chkstk routine outputs to stderr >(I could be wrong, it might be stdout - but that wouldn't make much sense). >In any case you can simply redirect output of the PM program to a file and >any messages will show up there. This is a good way to debug PM programs >in some cases and is easier than sending error codes specifically to a file. Ok, so how do I re-direct STDERR in OS?2? I know to use >& in unix, but how do I handle it in OS/2? -- | wbonner@yoda.eecs.wsu.edu | | 27313853@wsuvm1.csc.wsu.edu | | 72561.3135@CompuServe.com |