www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/03/01:54:55

Date: Mon, 2 Feb 1998 21:20:58 -0800 (PST)
Message-Id: <199802030520.VAA07673@adit.ap.net>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: stdio writing to a string

I notice that DJGPP's `sprintf' uses some undocumented flags of the `FILE'
struct to get a string accessed like a stream. Can these be documented, or
perhaps some higher-level mechanism made available to use this ability? I
can think of several cases in which it would be convenient.

I believe glibc has some similar functionality but I forget what the
interface is like.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019