Path: 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 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