bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: centered strings in printf()?


From: Andreas Schwab
Subject: Re: centered strings in printf()?
Date: Thu, 07 Nov 2002 14:25:22 +0100
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (ia64-suse-linux)

Jan Engelhardt <address@hidden> writes:

|> Hi,
|> 
|> as far as I know there is no way to center a string within printf.
|> Maybe someone wants to write that, the glibc code is a bit too
|> complex for me. something like printf("%80S\n", "nice centered title");?

This is too trivial to warrant an extension.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]