Re: printversion could be more translation-friendly
Jules Bean <jules@jellybean.co.uk> writes:
> My understanding, which may well be wrong, is that
> fprintf(...,stdout) should have the same effect as
> printf(...). viz. whether or not the stream gets flushed depends
> upon its settings.
Yes, but, all you get about the meaning of those settings is their
intent ("When a stream is unbuffered, characters are intended to
appear from the source or at the destination as soon as possible." and
similarly for the other buffering modes) and whether they are actually
supported at all is implementation-defined. fflush is the only way to
be sure.
--
http://www.greenend.org.uk/rjk/
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: