* modules/stdio-h: Renamed from modules/stdio.
* modules/stdio-h-tests: Renamed from modules/stdio-tests.
* modules/stdio-h-c++-tests: Renamed from modules/stdio-c++-tests.
* tests/test-stdio-h.c: Renamed from tests/test-stdio.c.
* tests/test-stdio-h-c++.cc: Renamed from tests/test-stdio-c++.cc.
* tests/test-stdio-h-c++2.cc: Renamed from tests/test-stdio-c++2.cc.
* doc/posix-headers/stdio.texi: Update.
* doc/posix-functions/fgetc.texi: Update.
* doc/posix-functions/fgets.texi: Update.
* doc/posix-functions/fprintf.texi: Update.
* doc/posix-functions/fputc.texi: Update.
* doc/posix-functions/fputs.texi: Update.
* doc/posix-functions/fread.texi: Update.
* doc/posix-functions/fscanf.texi: Update.
* doc/posix-functions/fwrite.texi: Update.
* doc/posix-functions/getc.texi: Update.
* doc/posix-functions/getchar.texi: Update.
* doc/posix-functions/printf.texi: Update.
* doc/posix-functions/putc.texi: Update.
* doc/posix-functions/putchar.texi: Update.
* doc/posix-functions/puts.texi: Update.
* doc/posix-functions/read.texi: Update.
* doc/posix-functions/scanf.texi: Update.
* doc/posix-functions/vfprintf.texi: Update.
* doc/posix-functions/vprintf.texi: Update.
* doc/posix-functions/write.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdio: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module stdio to stdio-h.
+ * modules/stdio-h: Renamed from modules/stdio.
+ * modules/stdio-h-tests: Renamed from modules/stdio-tests.
+ * modules/stdio-h-c++-tests: Renamed from modules/stdio-c++-tests.
+ * tests/test-stdio-h.c: Renamed from tests/test-stdio.c.
+ * tests/test-stdio-h-c++.cc: Renamed from tests/test-stdio-c++.cc.
+ * tests/test-stdio-h-c++2.cc: Renamed from tests/test-stdio-c++2.cc.
+ * doc/posix-headers/stdio.texi: Update.
+ * doc/posix-functions/fgetc.texi: Update.
+ * doc/posix-functions/fgets.texi: Update.
+ * doc/posix-functions/fprintf.texi: Update.
+ * doc/posix-functions/fputc.texi: Update.
+ * doc/posix-functions/fputs.texi: Update.
+ * doc/posix-functions/fread.texi: Update.
+ * doc/posix-functions/fscanf.texi: Update.
+ * doc/posix-functions/fwrite.texi: Update.
+ * doc/posix-functions/getc.texi: Update.
+ * doc/posix-functions/getchar.texi: Update.
+ * doc/posix-functions/printf.texi: Update.
+ * doc/posix-functions/putc.texi: Update.
+ * doc/posix-functions/putchar.texi: Update.
+ * doc/posix-functions/puts.texi: Update.
+ * doc/posix-functions/read.texi: Update.
+ * doc/posix-functions/scanf.texi: Update.
+ * doc/posix-functions/vfprintf.texi: Update.
+ * doc/posix-functions/vprintf.texi: Update.
+ * doc/posix-functions/write.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/stdio: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module stdint to stdint-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgetc.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgets.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html}
-Gnulib module: fprintf-posix or fprintf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: fprintf-posix or fprintf-gnu or stdio-h, nonblocking, sigpipe
@mindex fprintf-posix
@mindex fprintf-gnu
-@mindex stdio
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
macOS 14, OpenBSD, MSVC 14, Android.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fputc.html}
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fputs.html}
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fread.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-fscanf.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fwrite.html}
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/getchar.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/printf.html}
-Gnulib module: printf-posix or printf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: printf-posix or printf-gnu or stdio-h, nonblocking, sigpipe
@mindex printf-posix
@mindex printf-gnu
-@mindex stdio
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
macOS 14, OpenBSD, MSVC 14, Android.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{printf-posix} or @code{printf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{printf-posix} or @code{printf-gnu}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{printf-posix} or @code{printf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{printf-posix} or @code{printf-gnu}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/putc.html}
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/putchar.html}
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/puts.html}
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/read.html}
-Gnulib module: read, stdio, nonblocking
+Gnulib module: read, stdio-h, nonblocking
@mindex read
-@mindex stdio
+@mindex stdio-h
@mindex nonblocking
Portability problems fixed by Gnulib module @code{read}:
MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-scanf.html}
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
@mindex nonblocking
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html}
-Gnulib module: vfprintf-posix or vfprintf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: vfprintf-posix or vfprintf-gnu or stdio-h, nonblocking, sigpipe
@mindex vfprintf-posix
@mindex vfprintf-gnu
-@mindex stdio
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
macOS 14, OpenBSD, MSVC 14, Android.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/vprintf.html}
-Gnulib module: vprintf-posix or vprintf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: vprintf-posix or vprintf-gnu or stdio-h, nonblocking, sigpipe
@mindex vprintf-posix
@mindex vprintf-gnu
-@mindex stdio
+@mindex stdio-h
@mindex nonblocking
@mindex sigpipe
macOS 14, OpenBSD, MSVC 14, Android.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails, instead of
MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
@itemize
@item
When writing to a non-blocking pipe whose buffer is full, this function fails
mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
@itemize
@item
When writing to a pipe with no readers, this function fails with error
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdio.h.html}
-Gnulib module: stdio
-@mindex stdio
+Gnulib module: stdio-h
+@mindex stdio-h
Portability problems fixed by Gnulib:
@itemize
vsnprintf
sleep
stdbool-h
-stdio
+stdio-h
strerror
memchr
memmove
Depends-on:
stdint-h
-stdio
+stdio-h
c-vsnzprintf
configure.ac:
Depends-on:
stdint-h
-stdio
+stdio-h
c-vasnprintf
configure.ac:
attribute
limits-h
stdint-h
-stdio
+stdio-h
mixin/printf-posix
free-posix
nocrash
Depends-on:
stdint-h
-stdio
+stdio-h
c-vasnprintf
configure.ac:
Depends-on:
stdint-h
-stdio
+stdio-h
c-vasnprintf
configure.ac:
Depends-on:
stdint-h
-stdio
+stdio-h
c-vsnzprintf
configure.ac:
Depends-on:
stdint-h
-stdio
+stdio-h
c-vasnprintf
configure.ac:
Depends-on:
extensions
-stdio
+stdio-h
c-vaszprintf
xalloc-die
stdbool-h
stddef-h
stdint-h
-stdio
+stdio-h
stdlib
string
uchar
Depends-on:
binary-io
-stdio
+stdio-h
stdlib
string
unistd
m4/dprintf.m4
Depends-on:
-stdio
+stdio-h
vdzprintf [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
intprops [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
errno-h [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
lib/dzprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
intprops
free-posix
Depends-on:
error-h
stddef-h
-stdio
+stdio-h
getprogname [test $COMPILE_ERROR_C = 1]
gettext-h [test $COMPILE_ERROR_C = 1]
gnulib-i18n [test $COMPILE_ERROR_C = 1]
m4/fclose.m4
Depends-on:
-stdio
+stdio-h
close [test $REPLACE_FCLOSE = 1]
fflush [test $REPLACE_FCLOSE = 1]
freading [test $REPLACE_FCLOSE = 1]
m4/fdopen.m4
Depends-on:
-stdio
+stdio-h
msvc-inval [test $REPLACE_FDOPEN = 1]
configure.ac:
m4/fflush.m4
Depends-on:
-stdio
+stdio-h
fpurge [test $REPLACE_FFLUSH = 1]
ftello [test $REPLACE_FFLUSH = 1]
freading [test $REPLACE_FFLUSH = 1]
m4/fflush.m4
Depends-on:
-stdio
+stdio-h
largefile
fcntl-h [test $REPLACE_FOPEN = 1]
stdbool-h [test $REPLACE_FOPEN = 1]
m4/math_h.m4
Depends-on:
-stdio
+stdio-h
nocrash
printf-safe
errno-h
lib/strftime.c
Depends-on:
-stdio
+stdio-h
nstrftime
time_rz
m4/fpurge.m4
Depends-on:
-stdio
+stdio-h
configure.ac:
gl_FUNC_FPURGE
Depends-on:
fcntl-h [test $REPLACE_FREOPEN = 1]
open [test $REPLACE_FREOPEN = 1]
-stdio
+stdio-h
largefile
configure.ac:
m4/fseek.m4
Depends-on:
-stdio
+stdio-h
fseeko [test $REPLACE_FSEEK = 1]
configure.ac:
extensions
largefile
lseek
-stdio
+stdio-h
sys_types
# Just to guarantee consistency between fseek() and fseeko().
fseek
m4/ftell.m4
Depends-on:
-stdio
+stdio-h
errno-h
ftello [test $REPLACE_FTELL = 1]
m4/ungetc.m4
Depends-on:
-stdio
+stdio-h
extensions
largefile
sys_types
lib/fzprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
intprops
free-posix
m4/getdelim.m4
Depends-on:
-stdio
+stdio-h
extensions
limits-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
stdint-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
m4/getline.m4
Depends-on:
-stdio
+stdio-h
extensions
getdelim [test $REPLACE_GETLINE = 1]
Depends-on:
attribute
-stdio
+stdio-h
configure.ac:
gen-header
libtextstyle
stdbool-h
-stdio
+stdio-h
unistd
fsync
vasprintf-posix
ioctl
msvc-nothrow
stdbool-h
-stdio
+stdio-h
sys_socket
unistd
Depends-on:
obstack
-stdio
+stdio-h
vasnprintf
extensions
Depends-on:
obstack
-stdio
+stdio-h
vasnprintf-posix
extensions
Depends-on:
obstack
-stdio
+stdio-h
vasnprintf
configure.ac:
m4/pclose.m4
Depends-on:
-stdio
+stdio-h
configure.ac:
gl_FUNC_PCLOSE
m4/perror.m4
Depends-on:
-stdio
+stdio-h
errno-h [test $REPLACE_PERROR = 1]
strerror-override [test $REPLACE_PERROR = 1]
strerror_r-posix [test $REPLACE_PERROR = 1]
m4/popen.m4
Depends-on:
-stdio
+stdio-h
open [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1]
configure.ac:
search-h
signal-h
spawn-h
-stdio
+stdio-h
stdlib
string
strings
m4/asm-underscore.m4
Depends-on:
-stdio
+stdio-h
printf-safe
vfprintf-posix [test $REPLACE_PRINTF = 1]
m4/remove.m4
Depends-on:
-stdio
+stdio-h
rmdir [test $REPLACE_REMOVE = 1]
unlink [test $REPLACE_REMOVE = 1]
m4/rename.m4
Depends-on:
-stdio
+stdio-h
canonicalize-lgpl [test $REPLACE_RENAME = 1]
chdir [test $REPLACE_RENAME = 1]
dirname-lgpl [test $REPLACE_RENAME = 1]
m4/renameat.m4
Depends-on:
-stdio
+stdio-h
extensions
fcntl-h
filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
raise
signal-h
sigprocmask
-stdio
+stdio-h
unistd
configure.ac:
m4/printf.m4
Depends-on:
-stdio
+stdio-h
errno-h [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
stdint-h [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
vsnzprintf [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
lib/snzprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
errno-h
stdint-h
m4/math_h.m4
Depends-on:
-stdio
+stdio-h
nocrash
printf-safe
multiarch
Description:
A GNU-like <stdio.h>.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'stdio-h' instead.
+
Files:
-lib/stdio.in.h
-lib/stdio-read.c
-lib/stdio-write.c
-m4/stdio_h.m4
-m4/musl.m4
Depends-on:
-extensions
-gen-header
-include_next
-snippet/arg-nonnull
-snippet/c++defs
-snippet/warn-on-use
-ssize_t
-stddef-h
-sys_types
-
-configure.ac-early:
-gl_STDIO_H_EARLY
+stdio-h
configure.ac:
-gl_STDIO_H
-gl_STDIO_H_REQUIRE_DEFAULTS
-AC_PROG_MKDIR_P
-gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
-gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
-
-dnl No need to create extra modules for these functions. Everyone who uses
-dnl <stdio.h> likely needs them.
-gl_STDIO_MODULE_INDICATOR([fscanf])
-gl_MODULE_INDICATOR([fscanf])
-gl_STDIO_MODULE_INDICATOR([scanf])
-gl_MODULE_INDICATOR([scanf])
-gl_STDIO_MODULE_INDICATOR([fgetc])
-gl_STDIO_MODULE_INDICATOR([getc])
-gl_STDIO_MODULE_INDICATOR([getchar])
-gl_STDIO_MODULE_INDICATOR([fgets])
-gl_STDIO_MODULE_INDICATOR([fread])
-
-dnl No need to create extra modules for these functions. Everyone who uses
-dnl <stdio.h> likely needs them.
-gl_STDIO_MODULE_INDICATOR([fprintf])
-gl_STDIO_MODULE_INDICATOR([printf])
-gl_STDIO_MODULE_INDICATOR([vfprintf])
-gl_STDIO_MODULE_INDICATOR([vprintf])
-gl_STDIO_MODULE_INDICATOR([fputc])
-gl_STDIO_MODULE_INDICATOR([putc])
-gl_STDIO_MODULE_INDICATOR([putchar])
-gl_STDIO_MODULE_INDICATOR([fputs])
-gl_STDIO_MODULE_INDICATOR([puts])
-gl_STDIO_MODULE_INDICATOR([fwrite])
Makefile.am:
-BUILT_SOURCES += stdio.h
-
-# We need the following in order to create <stdio.h> when the system
-# doesn't have one that works with the given compiler.
-stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
- -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
- -e 's/@''GNULIB_DZPRINTF''@/$(GNULIB_DZPRINTF)/g' \
- -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
- -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
- -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
- -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
- -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
- -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
- -e 's/@''GNULIB_FOPEN_GNU''@/$(GNULIB_FOPEN_GNU)/g' \
- -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
- -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
- -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
- -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
- -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
- -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
- -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
- -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
- -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
- -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
- -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
- -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
- -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
- -e 's/@''GNULIB_FZPRINTF''@/$(GNULIB_FZPRINTF)/g' \
- -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
- -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
- -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
- -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
- -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
- -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
- -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GNULIB_OBSTACK_ZPRINTF)/g' \
- -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
- -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
- -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
- -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
- -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
- -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
- -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
- -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
- -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
- -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
- -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
- -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
- -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
- -e 's/@''GNULIB_SNZPRINTF''@/$(GNULIB_SNZPRINTF)/g' \
- -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
- -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
- -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
- -e 's/@''GNULIB_SZPRINTF''@/$(GNULIB_SZPRINTF)/g' \
- -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
- -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
- -e 's/@''GNULIB_VASZPRINTF''@/$(GNULIB_VASZPRINTF)/g' \
- -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
- -e 's/@''GNULIB_VDZPRINTF''@/$(GNULIB_VDZPRINTF)/g' \
- -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
- -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
- -e 's/@''GNULIB_VFZPRINTF''@/$(GNULIB_VFZPRINTF)/g' \
- -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
- -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
- -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
- -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
- -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
- -e 's/@''GNULIB_VSNZPRINTF''@/$(GNULIB_VSNZPRINTF)/g' \
- -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
- -e 's/@''GNULIB_VSZPRINTF''@/$(GNULIB_VSZPRINTF)/g' \
- -e 's/@''GNULIB_VZPRINTF''@/$(GNULIB_VZPRINTF)/g' \
- -e 's/@''GNULIB_ZPRINTF''@/$(GNULIB_ZPRINTF)/g' \
- -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GNULIB_MDA_FCLOSEALL)/g' \
- -e 's/@''GNULIB_MDA_FDOPEN''@/$(GNULIB_MDA_FDOPEN)/g' \
- -e 's/@''GNULIB_MDA_FILENO''@/$(GNULIB_MDA_FILENO)/g' \
- -e 's/@''GNULIB_MDA_GETW''@/$(GNULIB_MDA_GETW)/g' \
- -e 's/@''GNULIB_MDA_PUTW''@/$(GNULIB_MDA_PUTW)/g' \
- -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GNULIB_MDA_TEMPNAM)/g' \
- < $(srcdir)/stdio.in.h > $@-t1
- $(AM_V_at)sed \
- -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
- -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
- -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
- -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
- -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
- -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
- -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
- -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
- -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
- -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
- -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
- -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
- -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
- -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
- -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
- -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
- -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
- -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
- -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
- < $@-t1 > $@-t2
- $(AM_V_at)sed \
- -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
- -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
- -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
- -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
- -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
- -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
- -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
- -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
- -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
- -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
- -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
- -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
- -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
- -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
- -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
- -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
- -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
- -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
- -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
- -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
- -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
- -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
- -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
- -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
- -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
- -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
- -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
- -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
- -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
- -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
- -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
- -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
- -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
- -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
- -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
- -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
- < $@-t2 > $@-t3
- $(AM_V_at)rm -f $@-t1 $@-t2
- $(AM_V_at)mv $@-t3 $@
-MOSTLYCLEANFILES += stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3
-
-if GL_COND_OBJ_STDIO_READ
-lib_SOURCES += stdio-read.c
-endif
-if GL_COND_OBJ_STDIO_WRITE
-lib_SOURCES += stdio-write.c
-endif
Include:
<stdio.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-stdio-c++.cc
-tests/test-stdio-c++2.cc
-tests/signature.h
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-stdio-c++
-check_PROGRAMS += test-stdio-c++
-test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
-test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
-endif
--- /dev/null
+Description:
+A GNU-like <stdio.h>.
+
+Files:
+lib/stdio.in.h
+lib/stdio-read.c
+lib/stdio-write.c
+m4/stdio_h.m4
+m4/musl.m4
+
+Depends-on:
+extensions
+gen-header
+include_next
+snippet/arg-nonnull
+snippet/c++defs
+snippet/warn-on-use
+ssize_t
+stddef-h
+sys_types
+
+configure.ac-early:
+gl_STDIO_H_EARLY
+
+configure.ac:
+gl_STDIO_H
+gl_STDIO_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
+gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
+gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
+
+dnl No need to create extra modules for these functions. Everyone who uses
+dnl <stdio.h> likely needs them.
+gl_STDIO_MODULE_INDICATOR([fscanf])
+gl_MODULE_INDICATOR([fscanf])
+gl_STDIO_MODULE_INDICATOR([scanf])
+gl_MODULE_INDICATOR([scanf])
+gl_STDIO_MODULE_INDICATOR([fgetc])
+gl_STDIO_MODULE_INDICATOR([getc])
+gl_STDIO_MODULE_INDICATOR([getchar])
+gl_STDIO_MODULE_INDICATOR([fgets])
+gl_STDIO_MODULE_INDICATOR([fread])
+
+dnl No need to create extra modules for these functions. Everyone who uses
+dnl <stdio.h> likely needs them.
+gl_STDIO_MODULE_INDICATOR([fprintf])
+gl_STDIO_MODULE_INDICATOR([printf])
+gl_STDIO_MODULE_INDICATOR([vfprintf])
+gl_STDIO_MODULE_INDICATOR([vprintf])
+gl_STDIO_MODULE_INDICATOR([fputc])
+gl_STDIO_MODULE_INDICATOR([putc])
+gl_STDIO_MODULE_INDICATOR([putchar])
+gl_STDIO_MODULE_INDICATOR([fputs])
+gl_STDIO_MODULE_INDICATOR([puts])
+gl_STDIO_MODULE_INDICATOR([fwrite])
+
+Makefile.am:
+BUILT_SOURCES += stdio.h
+
+# We need the following in order to create <stdio.h> when the system
+# doesn't have one that works with the given compiler.
+stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
+ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
+ -e 's/@''GNULIB_DZPRINTF''@/$(GNULIB_DZPRINTF)/g' \
+ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
+ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
+ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
+ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
+ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
+ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
+ -e 's/@''GNULIB_FOPEN_GNU''@/$(GNULIB_FOPEN_GNU)/g' \
+ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
+ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
+ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
+ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
+ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
+ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
+ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
+ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
+ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
+ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
+ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
+ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
+ -e 's/@''GNULIB_FZPRINTF''@/$(GNULIB_FZPRINTF)/g' \
+ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
+ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
+ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
+ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
+ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
+ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GNULIB_OBSTACK_ZPRINTF)/g' \
+ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
+ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
+ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
+ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
+ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
+ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
+ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
+ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
+ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
+ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
+ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
+ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
+ -e 's/@''GNULIB_SNZPRINTF''@/$(GNULIB_SNZPRINTF)/g' \
+ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
+ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
+ -e 's/@''GNULIB_SZPRINTF''@/$(GNULIB_SZPRINTF)/g' \
+ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
+ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
+ -e 's/@''GNULIB_VASZPRINTF''@/$(GNULIB_VASZPRINTF)/g' \
+ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
+ -e 's/@''GNULIB_VDZPRINTF''@/$(GNULIB_VDZPRINTF)/g' \
+ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
+ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_VFZPRINTF''@/$(GNULIB_VFZPRINTF)/g' \
+ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
+ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
+ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
+ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
+ -e 's/@''GNULIB_VSNZPRINTF''@/$(GNULIB_VSNZPRINTF)/g' \
+ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
+ -e 's/@''GNULIB_VSZPRINTF''@/$(GNULIB_VSZPRINTF)/g' \
+ -e 's/@''GNULIB_VZPRINTF''@/$(GNULIB_VZPRINTF)/g' \
+ -e 's/@''GNULIB_ZPRINTF''@/$(GNULIB_ZPRINTF)/g' \
+ -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GNULIB_MDA_FCLOSEALL)/g' \
+ -e 's/@''GNULIB_MDA_FDOPEN''@/$(GNULIB_MDA_FDOPEN)/g' \
+ -e 's/@''GNULIB_MDA_FILENO''@/$(GNULIB_MDA_FILENO)/g' \
+ -e 's/@''GNULIB_MDA_GETW''@/$(GNULIB_MDA_GETW)/g' \
+ -e 's/@''GNULIB_MDA_PUTW''@/$(GNULIB_MDA_PUTW)/g' \
+ -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GNULIB_MDA_TEMPNAM)/g' \
+ < $(srcdir)/stdio.in.h > $@-t1
+ $(AM_V_at)sed \
+ -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
+ -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
+ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
+ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
+ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
+ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
+ -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
+ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
+ -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
+ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
+ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
+ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
+ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
+ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
+ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
+ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
+ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
+ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
+ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
+ < $@-t1 > $@-t2
+ $(AM_V_at)sed \
+ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
+ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
+ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
+ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
+ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
+ -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
+ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
+ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
+ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
+ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
+ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
+ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
+ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
+ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
+ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
+ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
+ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
+ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
+ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
+ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
+ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
+ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
+ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
+ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
+ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
+ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
+ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
+ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
+ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
+ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
+ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
+ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
+ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
+ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+ < $@-t2 > $@-t3
+ $(AM_V_at)rm -f $@-t1 $@-t2
+ $(AM_V_at)mv $@-t3 $@
+MOSTLYCLEANFILES += stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3
+
+if GL_COND_OBJ_STDIO_READ
+lib_SOURCES += stdio-read.c
+endif
+if GL_COND_OBJ_STDIO_WRITE
+lib_SOURCES += stdio-write.c
+endif
+
+Include:
+<stdio.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-stdio-h-c++.cc
+tests/test-stdio-h-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdio-h-c++
+check_PROGRAMS += test-stdio-h-c++
+test_stdio_h_c___SOURCES = test-stdio-h-c++.cc test-stdio-h-c++2.cc
+test_stdio_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
+endif
Files:
-tests/test-stdio.c
+tests/test-stdio-h.c
tests/macros.h
m4/exponentd.m4
assert-h
signed-nan
signed-snan
-stdio-c++-tests
+stdio-h-c++-tests
fgetc-tests
fputc-tests
fread-tests
gl_DOUBLE_EXPONENT_LOCATION
Makefile.am:
-TESTS += test-stdio
-check_PROGRAMS += test-stdio
+TESTS += test-stdio-h
+check_PROGRAMS += test-stdio-h
lib/szprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
errno-h
stdint-h
m4/tmpfile.m4
Depends-on:
-stdio
+stdio-h
largefile
pathmax [test $REPLACE_TMPFILE = 1]
stdbool-h [test $REPLACE_TMPFILE = 1]
gnulib-i18n
localcharset
error
-stdio
+stdio-h
configure.ac:
gl_UNICODEIO
m4/exponentd.m4
Depends-on:
-stdio
+stdio-h
alloca-opt
attribute
float-h
m4/musl.m4
Depends-on:
-stdio
+stdio-h
alloca-opt
attribute
float-h
m4/vasprintf.m4
Depends-on:
-stdio
+stdio-h
extensions
vasnprintf [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
errno-h [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
lib/aszprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
errno-h
stdint-h
m4/vdprintf.m4
Depends-on:
-stdio
+stdio-h
vdzprintf [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
intprops [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
errno-h [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
lib/vdzprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
intprops
free-posix
m4/math_h.m4
Depends-on:
-stdio
+stdio-h
nocrash
printf-safe
multiarch
Files:
Depends-on:
-stdio
+stdio-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([vfscanf])
lib/vfzprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
intprops
free-posix
m4/printf.m4
Depends-on:
-stdio
+stdio-h
printf-safe
vfprintf-posix [test $REPLACE_VPRINTF = 1]
Files:
Depends-on:
-stdio
+stdio-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([vscanf])
m4/printf.m4
Depends-on:
-stdio
+stdio-h
errno-h [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
stdint-h [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
vsnzprintf [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
lib/vsnzprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
errno-h
stdint-h
m4/math_h.m4
Depends-on:
-stdio
+stdio-h
nocrash
printf-safe
multiarch
lib/vszprintf.c
Depends-on:
-stdio
+stdio-h
vasnprintf
errno-h
stdint-h
lib/vzprintf.c
Depends-on:
-stdio
+stdio-h
vfzprintf
configure.ac:
lib/xprintf.c
Depends-on:
-stdio
+stdio-h
error
exitfail
gettext-h
Depends-on:
extensions
-stdio
+stdio-h
vaszprintf
xalloc
xalloc-die
lib/zprintf.c
Depends-on:
-stdio
+stdio-h
vfzprintf
configure.ac: