annotate modules/stdio @ 14700:6758fa38915e topic/libposix

manual merge
author Bruce Korb <bkorb@gnu.org>
date Fri, 06 May 2011 08:15:59 -0700
parents 8636d98120a9 8b22057e98d2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <stdio.h>.
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
9262
9857038c7b89 Rename stdio_.h to stdio.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9161
diff changeset
5 lib/stdio.in.h
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/stdio_h.m4
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
8995
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8888
diff changeset
9 include_next
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
10 arg-nonnull
12940
4c61fd24cafa stdio: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12839
diff changeset
11 c++defs
11832
ff3dd373542b stddef: fix NetBSD 5.0 NULL bug, rather than working around it
Eric Blake <ebb9@byu.net>
parents: 11653
diff changeset
12 stddef
12724
bc2866336bbb stdio: warn on suspicious uses
Eric Blake <ebb9@byu.net>
parents: 12422
diff changeset
13 warn-on-use
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 gl_STDIO_H
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 Makefile.am:
14108
873a3371d1d2 spell the pkginclude directory correctly.
Bruce Korb <bkorb@gnu.org>
parents: 14107
diff changeset
19 nodist_pkginclude_HEADERS += stdio.h
14102
f49fe7e6d028 add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents: 13761
diff changeset
20
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 BUILT_SOURCES += stdio.h
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 # We need the following in order to create <stdio.h> when the system
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 # doesn't have one that works with the given compiler.
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14402
diff changeset
25 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11848
diff changeset
26 $(AM_V_GEN)rm -f $@-t $@ && \
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
10375
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 10205
diff changeset
28 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 10205
diff changeset
29 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
13761
a19ace3ba849 Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents: 13343
diff changeset
30 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8995
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8888
diff changeset
31 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
32 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
33 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
34 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
35 -e 's|@''GNULIB_FGETC''@|$(GNULIB_FGETC)|g' \
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
36 -e 's|@''GNULIB_FGETS''@|$(GNULIB_FGETS)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
37 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
10487
953f72c1ffcc Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents: 10433
diff changeset
38 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
8394
fbb6e4d5f75b New module 'fprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8391
diff changeset
39 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
40 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
41 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
42 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
43 -e 's|@''GNULIB_FREAD''@|$(GNULIB_FREAD)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
44 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
45 -e 's|@''GNULIB_FSCANF''@|$(GNULIB_FSCANF)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
46 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
47 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
48 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
49 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
50 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
51 -e 's|@''GNULIB_GETC''@|$(GNULIB_GETC)|g' \
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
52 -e 's|@''GNULIB_GETCHAR''@|$(GNULIB_GETCHAR)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
53 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
54 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
55 -e 's|@''GNULIB_GETS''@|$(GNULIB_GETS)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
56 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
57 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
58 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
59 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
10487
953f72c1ffcc Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents: 10433
diff changeset
60 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
8402
12b641f5a848 New module 'printf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8396
diff changeset
61 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
62 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
63 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
64 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
12041
73e9ab6e2c90 remove: new module, for mingw and Solaris 9 bugs
Eric Blake <ebb9@byu.net>
parents: 12008
diff changeset
65 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
11972
24ed6ac9fe07 rename: modernize replacement
Eric Blake <ebb9@byu.net>
parents: 11971
diff changeset
66 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
12099
01c66cf797b5 renameat: new module
Eric Blake <ebb9@byu.net>
parents: 12041
diff changeset
67 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
68 -e 's|@''GNULIB_SCANF''@|$(GNULIB_SCANF)|g' \
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
69 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
8373
b975f31a2a92 New module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8371
diff changeset
70 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
14578
4e83bc0de9e4 Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
71 -e 's|@''GNULIB_STDIO_H_NONBLOCKING''@|$(GNULIB_STDIO_H_NONBLOCKING)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
72 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
13137
fd3c9fa89efe tmpfile: Fix C++ test error on mingw.
Bruno Haible <bruno@clisp.org>
parents: 13122
diff changeset
73 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
74 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
75 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
10487
953f72c1ffcc Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents: 10433
diff changeset
76 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
8391
e867946a9882 New module 'vfprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8373
diff changeset
77 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
78 -e 's|@''GNULIB_VFSCANF''@|$(GNULIB_VFSCANF)|g' \
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
79 -e 's|@''GNULIB_VSCANF''@|$(GNULIB_VSCANF)|g' \
10487
953f72c1ffcc Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents: 10433
diff changeset
80 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
8396
ca9d4758592d New module 'vprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8394
diff changeset
81 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
82 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
8371
00b14bff072a New module 'vsprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8366
diff changeset
83 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
12742
eb23650d64e1 Split large sed scripts, for HP-UX sed.
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
parents: 12724
diff changeset
84 < $(srcdir)/stdio.in.h | \
eb23650d64e1 Split large sed scripts, for HP-UX sed.
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
parents: 12724
diff changeset
85 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
13942
525c4e92ae7e fseeko: Add missing declaration on OSF/1 5.1.
Bruno Haible <bruno@clisp.org>
parents: 13761
diff changeset
86 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
13943
190accfb0919 ftello: Add missing declaration on OSF/1 5.1.
Bruno Haible <bruno@clisp.org>
parents: 13942
diff changeset
87 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
9161
c5cedfcd0db0 Move getline and getdelim into stdio.h, per POSIX 200x.
Eric Blake <ebb9@byu.net>
parents: 9102
diff changeset
88 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
c5cedfcd0db0 Move getline and getdelim into stdio.h, per POSIX 200x.
Eric Blake <ebb9@byu.net>
parents: 9102
diff changeset
89 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
90 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
91 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
92 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
93 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
13121
472aa3de0fbb fseeko: Fix C++ test error on mingw.
Bruno Haible <bruno@clisp.org>
parents: 12940
diff changeset
94 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
13122
01741ff1a40e ftello: Fix C++ test error on mingw.
Bruno Haible <bruno@clisp.org>
parents: 13121
diff changeset
95 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
12099
01c66cf797b5 renameat: new module
Eric Blake <ebb9@byu.net>
parents: 12041
diff changeset
96 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
97 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
98 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
99 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
100 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
101 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
102 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
103 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
104 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
105 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
106 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
107 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
108 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
109 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
12839
c6d23570567d Work around getdelim() bug on FreeBSD 8.0.
Bruno Haible <bruno@clisp.org>
parents: 12766
diff changeset
110 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
9161
c5cedfcd0db0 Move getline and getdelim into stdio.h, per POSIX 200x.
Eric Blake <ebb9@byu.net>
parents: 9102
diff changeset
111 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
112 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
10433
02b0f65bfbfc New module 'perror'.
Bruno Haible <bruno@clisp.org>
parents: 10432
diff changeset
113 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
114 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
115 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
12041
73e9ab6e2c90 remove: new module, for mingw and Solaris 9 bugs
Eric Blake <ebb9@byu.net>
parents: 12008
diff changeset
116 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
11972
24ed6ac9fe07 rename: modernize replacement
Eric Blake <ebb9@byu.net>
parents: 11971
diff changeset
117 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
12100
8e81b30aa8b7 renameat: fix Solaris bugs
Eric Blake <ebb9@byu.net>
parents: 12099
diff changeset
118 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
119 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
120 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
14583
8b22057e98d2 Support non-blocking pipe I/O in read() on native Windows.
Bruno Haible <bruno@clisp.org>
parents: 14578
diff changeset
121 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
122 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
13137
fd3c9fa89efe tmpfile: Fix C++ test error on mingw.
Bruno Haible <bruno@clisp.org>
parents: 13122
diff changeset
123 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
11971
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
124 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
125 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
126 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
127 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
128 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
229df0a197d3 stdio: sort witness names
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
129 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
13343
747ce13db0de Fix collision between gnulib's and libintl's printf replacements.
Bruno Haible <bruno@clisp.org>
parents: 13137
diff changeset
130 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
12940
4c61fd24cafa stdio: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12839
diff changeset
131 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
132 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
12742
eb23650d64e1 Split large sed scripts, for HP-UX sed.
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
parents: 12724
diff changeset
133 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11848
diff changeset
134 } > $@-t && \
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
135 mv $@-t $@
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
136 MOSTLYCLEANFILES += stdio.h stdio.h-t
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
137
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
138 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11972
diff changeset
139 <stdio.h>
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
140
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
141 License:
9102
404dc8725caf Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
142 LGPLv2+
8209
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
143
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
144 Maintainer:
7c6e1e927981 New module 'stdio'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
145 all