History log of /netbsd-src/include/stdio.h (Results 1 – 25 of 104)
Revision Date Author Comments
# f64856e5 11-Sep-2021 rillig <rillig@NetBSD.org>

stdio.h: remove outdated comment for vscanf

When these functions where added to stdio.h 1.72 on 2008-08-04, the
conditional included _NETBSD_SOURCE.

The additional condition was removed in stdio.h

stdio.h: remove outdated comment for vscanf

When these functions where added to stdio.h 1.72 on 2008-08-04, the
conditional included _NETBSD_SOURCE.

The additional condition was removed in stdio.h 1.99 from 2020-03-20,
but the comment was not updated.

show more ...


# 0a201ba3 11-Sep-2021 rillig <rillig@NetBSD.org>

stdio.h: sync comment for struct __sFILE with reality

In stdio.h 1.1 from 1993-03-21, the struct had a member named _ub for
the ungetc buffer. That member was repurposed in stdio.h 1.42 from
2001-1

stdio.h: sync comment for struct __sFILE with reality

In stdio.h 1.1 from 1993-03-21, the struct had a member named _ub for
the ungetc buffer. That member was repurposed in stdio.h 1.42 from
2001-12-07 in order to support wide characters.

Remove the reference to the 'WARNING above' since there is no such
warning and even when this comment was added in stdio.h 1.20 from
1998-02-02, there was none.

show more ...


# fb6d4a25 11-Sep-2021 rillig <rillig@NetBSD.org>

stdio.h: remove outdated comment about fpos_t

The 'fairly grotesque' from 1994-04-03 referred to the conditional
definition of the type fpos_t, using two different integer types that
both happened t

stdio.h: remove outdated comment about fpos_t

The 'fairly grotesque' from 1994-04-03 referred to the conditional
definition of the type fpos_t, using two different integer types that
both happened to be 64-bit.

When stdio was changed on 2012-01-22 to keep track of the mbstate, the
conditional type definition was removed and the comment no longer made
sense.

show more ...


# 16f5958b 11-Sep-2021 rillig <rillig@NetBSD.org>

stdio.h: fix typo in comment


# d27ba004 11-Sep-2021 rillig <rillig@NetBSD.org>

stdio.h: fix typo in comment


# af730bf1 20-Mar-2020 joerg <joerg@NetBSD.org>

Fix visibility of various C99 features, esp. for C++11.


# cefdfaf4 13-Dec-2019 mrg <mrg@NetBSD.org>

move P_tmpdir from "/var/tmp/" to "/tmp/".

the main effect of this is to make GCC and other libiberty using
tools use /tmp instead of /var/tmp for compiler temp files,
which can be a bottleneck on l

move P_tmpdir from "/var/tmp/" to "/tmp/".

the main effect of this is to make GCC and other libiberty using
tools use /tmp instead of /var/tmp for compiler temp files,
which can be a bottleneck on larger systems.

a survey of other platforms shows only OSX also uses /var/tmp,
everyone else has switched to /tmp long ago.


cons: some smaller systems may have a smaller /tmp than /var/tmp,
and this may cause builds to fail with out of space earlier.
point the build to /var/tmp using TMPDIR in this case.

one can argue that setting TMPDIR would work around this, but we
want to have the effect for all users without having special setup.

show more ...


# ede51e40 17-Mar-2016 christos <christos@NetBSD.org>

gcc 5, my patience is waning.


# fc5db8c0 24-Mar-2015 wiz <wiz@NetBSD.org>

Put fseeko, ftello, pread, and pwrite in the POSIX 2001 namespace.
Ok christos, apb, martin


# faa5a4f0 05-Mar-2015 dholland <dholland@NetBSD.org>

One vscanf_l is ample.


# 72566f3f 04-Mar-2015 christos <christos@NetBSD.org>

PR/49715: Henning Petersen: Missing _*_DECLS in stdio.h around popenve.


# 829f81ac 20-Jan-2015 christos <christos@NetBSD.org>

add popenve().


# faef3224 13-Oct-2014 christos <christos@NetBSD.org>

add open_{,w}memstream


# 8e2b2a8f 07-Aug-2014 christos <christos@NetBSD.org>

cast to LHS type and minor KNF.


# a8b7899c 23-May-2014 joerg <joerg@NetBSD.org>

Fix use of getline and friends in C++ code.


# eead6b98 19-May-2014 kleink <kleink@NetBSD.org>

Move declarations of getdelim() and getline() from the (incorrect) ANSI C
section to POSIX-2008. From Jarmo Jaakkola in PR standards/48788.


# df2bc3e4 04-May-2013 christos <christos@NetBSD.org>

add the signal safe prototypes


# cd8f66ed 26-Apr-2013 joerg <joerg@NetBSD.org>

Don't pollute the name space with the various stdio macros for C++.


# 6c5ca8f8 19-Apr-2013 joerg <joerg@NetBSD.org>

Add missing __BEGIN_DECLS/__END_DECLS.


# 9790c07a 19-Apr-2013 joerg <joerg@NetBSD.org>

Add scanf_l and wscanf_l families.


# 2561b634 19-Apr-2013 joerg <joerg@NetBSD.org>

Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.


# 58520523 17-Apr-2013 joerg <joerg@NetBSD.org>

White space


# ca5a32ed 18-Apr-2012 christos <christos@NetBSD.org>

specify size of the array to help -fmudflap


# 0ed4e38b 27-Mar-2012 christos <christos@NetBSD.org>

funopen2()


# 1897181a 22-Jan-2012 christos <christos@NetBSD.org>

From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new f

From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@

show more ...


12345