| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | redirection |
Henk den Adel wrote in a message to All: HdA> I am trying to de-trap an application, by writing out HdA> intermediate results, using printf, a plain text HdA> application, using C code. The application traps (trap HdA> 0005). Output is written to the screen. I have no idea why HdA> my application traps and where it traps. Have you considered using the debugger? Or defining an exception handler? HdA> So how can i redirect my info (printf) to a file, when the HdA> program traps? HdA> I am using OS/2 version 2.1. IBMs C compiler (2.01) or HdA> Borlands C compiler (1.0) produce the same redirection HdA> behaviour, so it must be an intrinsic feature of the OS. I would try calling "fflush(NULL)" once in a while. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407 SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1 @PATH: 323/107 396/1 270/101 712/624 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.