[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf "%c" behavious
From: |
Andreas Schwab |
Subject: |
Re: printf "%c" behavious |
Date: |
Fri, 13 Aug 2004 23:02:04 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
"G. Vamsee Krishna" <address@hidden> writes:
> Well, if printf mimics C's printf, it's got to print 'A' :-)
POSIX also says that the argument for %c should be treated as a string,
not as a C constant.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."