site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jul 1, 2005, at 7:36 PM, Peter Seebach wrote:
From the printf(3) man page: Er, what's %lf? %f takes a double, %Lf takes a long double. I don't know of any purpose for %lf.
Again, from the man page: Modifier a, A, e, E, f, F, g, G l (ell) double (ignored, same behavior as without it) L long double It's supported. As for its utility... Perhaps I'll do that. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com I have no spec for the $ syntax. An optional field, consisting of a decimal digit string followed by a $, specifying the next argument to access. If this field is not pro- vided, the argument following the last argument accessed will be used. Arguments are numbered starting at 1. If unaccessed arguments in the format string are interspersed with ones that are accessed the results will be indeterminate. It would probably be worth filing a bug report with Alan Briggs, who has a specific reason to care whether fmtcheck() is buggy. Actually, I misspoke earlier when I said that the version in NetBSD was the same as the one in Darwin. The one in NetBSD is newer in that it correctly ignores the ' flag while the one in Darwin does not. - Steve smime.p7s