Article View: comp.os.msdos.programmer
Article #2628Re: ReDirecting printf to memory????
From: Harry Pulley
Date: Wed, 10 Oct 1990 14:23
Date: Wed, 10 Oct 1990 14:23
10 lines
840 bytes
840 bytes
I don't know what application you want your new function for, but the standard libraries already provide sprintf(). This function works similar to the way that printf() does, except that it will write the output to a character buffer instead of the standard output stream. The programmer specifies the location of the buffer and is responsible for the prevention of memory overrun. HCPIV
Technical Details
Message-ID:
<781@aeshq.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!aeshq!harryReferences:
<31926@nigel.ee.udel.edu> <106728@convex.convex.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!aeshq!harry From: harry@aeshq.UUCP (Harry Pulley) Newsgroups: comp.os.msdos.programmer Subject: Re: ReDirecting printf to memory???? Summary: > How about sprintf()? Message-ID: <781@aeshq.UUCP> Date: 10 Oct 90 14:23:41 GMT References: <31926@nigel.ee.udel.edu> <106728@convex.convex.com> Organization: AES Headquarters, Environment Canada, Toronto, Canada Lines: 10