Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: Standard Library macros |
| Date | 2012-07-20 07:55 +0100 |
| Message-Id | <pan.2012.07.20.06.55.00.549000@nowhere.com> |
| Newsgroups | comp.lang.c |
| References | <ju9gsq$5s0$1@speranza.aioe.org> |
| Organization | Zen Internet |
On Thu, 19 Jul 2012 17:41:46 +0000, Raj Pashwar wrote: > In another thread I was asking about declaring printf() without including > <stdio.h>. > > I realized that one time this will fail, is when the Platform Library > uses a macro for printf(). Actually this is quite likely, because printf > (...) can be expanded to fprintf(stdout,...). Also, some versions of libintl.h have: #define printf libintl_printf Simlarly for the other *printf functions. The rationale is that libintl's printf functions support POSIX-style positional specifiers (e.g. "%1$d"), which are particularly useful if you're using libintl to localise format strings.
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
Standard Library macros Raj Pashwar <raj121190@hotmail.NOSPAM.com> - 2012-07-19 17:41 +0000 Re: Standard Library macros Ben Pfaff <blp@cs.stanford.edu> - 2012-07-19 10:46 -0700 Re: Standard Library macros Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-07-19 21:35 +0100 Re: Standard Library macros Nobody <nobody@nowhere.com> - 2012-07-20 07:55 +0100
csiph-web