| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Received: | by 10.224.72.199 with SMTP id n7mr8066137qaj.5.1356188623828; |
| Sat, 22 Dec 2012 07:03:43 -0800 (PST) | |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Date: | Sat, 22 Dec 2012 07:03:43 -0800 (PST) |
| Complaints-To: | groups-abuse AT google DOT com |
| Injection-Info: | f19g2000vbv.googlegroups.com; posting-host=5.56.202.57; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 |
| NNTP-Posting-Host: | 5.56.202.57 |
| References: | <50D48246 DOT 7010706 AT gmx DOT de> <201212211842 DOT qBLIg6qp028482 AT delorie DOT com> |
| <50D50440 DOT 6020308 AT gmx DOT de> <ajki6uF631mU1 AT mid DOT dfncis DOT de> | |
| User-Agent: | G2/1.0 |
| X-HTTP-UserAgent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0,gzip(gfe) |
| Message-ID: | <5465221d-cb18-42f6-8b13-06eb119b9cf2@f19g2000vbv.googlegroups.com> |
| Subject: | Re: Question about va_* macros |
| From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> |
| Injection-Date: | Sat, 22 Dec 2012 15:03:43 +0000 |
| Bytes: | 2007 |
| Lines: | 16 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id qBMFF1Dv017457 |
| Reply-To: | djgpp AT delorie DOT com |
On 22 Dez., 02:54, Hans-Bernhard Bröker <HBBroe DOT DOT DOT AT t-online DOT de> wrote: > On 22.12.2012 01:52, Juan Manuel Guerrero wrote: > > > The reason why I have asked this is because according to C99 or POSIX > > printf and scanf family of functions shall return EINVAL if there are > > insufficient arguments. > > At least for C99 itself, I'm pretty sure there cannot be any such > requirment. The term EINVAL is not mentioned at all in C99, nor C11 for > that matter. What both C99 and C11 actually say, for both fscanf and > fprint, is: > > > If there are insufficient arguments for the format, the behavior is > > undefined. True. It is only an X/Open System Interface (XSI) extension.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |