🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by D G Booth Fri, 09 Nov 1990 09:00
Re: printf() will work in PM programs
#1629
Author: D G Booth
Date: Fri, 09 Nov 1990 09:00
20 lines
1270 bytes
In article <21079@ttidca.TTI.COM> terence@ttidca.TTI.COM (Terence Davis) writes:
> It is possible to use printf() in PM programs if you can live with seeing
> the output after program execution.

I have a device driver that gives a device called AUX which is actually
my mono monitor.  I frequently run PM programs redirected to AUX so that
I can see the debugging printf's as they come out.  The only thing you
have to watch with this is that the C runtime library will attempt to
buffer output, so it is worth overriding this with setbuf. 
I believe the device driver is reasonably widely available.

Duncan Booth

-- 
Automatic Disclaimer:
The views expressed above are those of the author alone and may not
represent the views of the IBM PC User Group.
-- 
Duncan Booth, RCP Ltd.                    Didcot, Oxon, UK
duncanb@ibmpcug.co.uk                     Bix: jrichards
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads