annotate lib/argp-fmtstream.h @ 423:079d43b6967b 3.0-beta2 3.0-beta2

Added missing file
author lost@l-w.ca
date Sun, 19 Sep 2010 01:44:47 -0600
parents 3c2e1f24cc7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
421
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
1 /* Word-wrapping and line-truncating streams.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
2 Copyright (C) 1997, 2006-2010 Free Software Foundation, Inc.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
3 This file is part of the GNU C Library.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
4 Written by Miles Bader <miles@gnu.ai.mit.edu>.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
5
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
6 This program is free software: you can redistribute it and/or modify
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
8 the Free Software Foundation; either version 3 of the License, or
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
9 (at your option) any later version.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
10
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
14 GNU General Public License for more details.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
15
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
18
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
19 /* This package emulates glibc `line_wrap_stream' semantics for systems that
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
20 don't have that. If the system does have it, it is just a wrapper for
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
21 that. This header file is only used internally while compiling argp, and
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
22 shouldn't be installed. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
23
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
24 #ifndef _ARGP_FMTSTREAM_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
25 #define _ARGP_FMTSTREAM_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
26
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
27 #include <stdio.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
28 #include <string.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
29 #include <unistd.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
30
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
31 #ifndef __attribute__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
32 /* This feature is available in gcc versions 2.5 and later. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
33 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
34 # define __attribute__(Spec) /* empty */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
35 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
36 /* The __-protected variants of `format' and `printf' attributes
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
37 are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
38 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || __STRICT_ANSI__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
39 # define __format__ format
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
40 # define __printf__ printf
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
41 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
42 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
43
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
44 #if (_LIBC - 0 && !defined (USE_IN_LIBIO)) \
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
45 || (defined (__GNU_LIBRARY__) && defined (HAVE_LINEWRAP_H))
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
46 /* line_wrap_stream is available, so use that. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
47 #define ARGP_FMTSTREAM_USE_LINEWRAP
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
48 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
49
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
50 #ifdef ARGP_FMTSTREAM_USE_LINEWRAP
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
51 /* Just be a simple wrapper for line_wrap_stream; the semantics are
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
52 *slightly* different, as line_wrap_stream doesn't actually make a new
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
53 object, it just modifies the given stream (reversibly) to do
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
54 line-wrapping. Since we control who uses this code, it doesn't matter. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
55
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
56 #include <linewrap.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
57
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
58 typedef FILE *argp_fmtstream_t;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
59
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
60 #define argp_make_fmtstream line_wrap_stream
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
61 #define __argp_make_fmtstream line_wrap_stream
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
62 #define argp_fmtstream_free line_unwrap_stream
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
63 #define __argp_fmtstream_free line_unwrap_stream
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
64
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
65 #define __argp_fmtstream_putc(fs,ch) putc(ch,fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
66 #define argp_fmtstream_putc(fs,ch) putc(ch,fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
67 #define __argp_fmtstream_puts(fs,str) fputs(str,fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
68 #define argp_fmtstream_puts(fs,str) fputs(str,fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
69 #define __argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
70 #define argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
71 #define __argp_fmtstream_printf fprintf
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
72 #define argp_fmtstream_printf fprintf
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
73
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
74 #define __argp_fmtstream_lmargin line_wrap_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
75 #define argp_fmtstream_lmargin line_wrap_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
76 #define __argp_fmtstream_set_lmargin line_wrap_set_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
77 #define argp_fmtstream_set_lmargin line_wrap_set_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
78 #define __argp_fmtstream_rmargin line_wrap_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
79 #define argp_fmtstream_rmargin line_wrap_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
80 #define __argp_fmtstream_set_rmargin line_wrap_set_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
81 #define argp_fmtstream_set_rmargin line_wrap_set_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
82 #define __argp_fmtstream_wmargin line_wrap_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
83 #define argp_fmtstream_wmargin line_wrap_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
84 #define __argp_fmtstream_set_wmargin line_wrap_set_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
85 #define argp_fmtstream_set_wmargin line_wrap_set_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
86 #define __argp_fmtstream_point line_wrap_point
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
87 #define argp_fmtstream_point line_wrap_point
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
88
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
89 #else /* !ARGP_FMTSTREAM_USE_LINEWRAP */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
90 /* Guess we have to define our own version. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
91
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
92 struct argp_fmtstream
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
93 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
94 FILE *stream; /* The stream we're outputting to. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
95
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
96 size_t lmargin, rmargin; /* Left and right margins. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
97 ssize_t wmargin; /* Margin to wrap to, or -1 to truncate. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
98
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
99 /* Point in buffer to which we've processed for wrapping, but not output. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
100 size_t point_offs;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
101 /* Output column at POINT_OFFS, or -1 meaning 0 but don't add lmargin. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
102 ssize_t point_col;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
103
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
104 char *buf; /* Output buffer. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
105 char *p; /* Current end of text in BUF. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
106 char *end; /* Absolute end of BUF. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
107 };
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
108
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
109 typedef struct argp_fmtstream *argp_fmtstream_t;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
110
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
111 /* Return an argp_fmtstream that outputs to STREAM, and which prefixes lines
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
112 written on it with LMARGIN spaces and limits them to RMARGIN columns
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
113 total. If WMARGIN >= 0, words that extend past RMARGIN are wrapped by
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
114 replacing the whitespace before them with a newline and WMARGIN spaces.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
115 Otherwise, chars beyond RMARGIN are simply dropped until a newline.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
116 Returns NULL if there was an error. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
117 extern argp_fmtstream_t __argp_make_fmtstream (FILE *__stream,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
118 size_t __lmargin,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
119 size_t __rmargin,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
120 ssize_t __wmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
121 extern argp_fmtstream_t argp_make_fmtstream (FILE *__stream,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
122 size_t __lmargin,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
123 size_t __rmargin,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
124 ssize_t __wmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
125
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
126 /* Flush __FS to its stream, and free it (but don't close the stream). */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
127 extern void __argp_fmtstream_free (argp_fmtstream_t __fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
128 extern void argp_fmtstream_free (argp_fmtstream_t __fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
129
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
130 extern ssize_t __argp_fmtstream_printf (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
131 const char *__fmt, ...)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
132 __attribute__ ((__format__ (printf, 2, 3)));
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
133 extern ssize_t argp_fmtstream_printf (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
134 const char *__fmt, ...)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
135 __attribute__ ((__format__ (printf, 2, 3)));
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
136
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
137 #if _LIBC || !defined __OPTIMIZE__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
138 extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
139 extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
140
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
141 extern int __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
142 extern int argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
143
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
144 extern size_t __argp_fmtstream_write (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
145 const char *__str, size_t __len);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
146 extern size_t argp_fmtstream_write (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
147 const char *__str, size_t __len);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
148 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
149
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
150 /* Access macros for various bits of state. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
151 #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
152 #define argp_fmtstream_rmargin(__fs) ((__fs)->rmargin)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
153 #define argp_fmtstream_wmargin(__fs) ((__fs)->wmargin)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
154 #define __argp_fmtstream_lmargin argp_fmtstream_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
155 #define __argp_fmtstream_rmargin argp_fmtstream_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
156 #define __argp_fmtstream_wmargin argp_fmtstream_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
157
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
158 #if _LIBC || !defined __OPTIMIZE__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
159 /* Set __FS's left margin to LMARGIN and return the old value. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
160 extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
161 size_t __lmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
162 extern size_t __argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
163 size_t __lmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
164
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
165 /* Set __FS's right margin to __RMARGIN and return the old value. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
166 extern size_t argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
167 size_t __rmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
168 extern size_t __argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
169 size_t __rmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
170
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
171 /* Set __FS's wrap margin to __WMARGIN and return the old value. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
172 extern size_t argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
173 size_t __wmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
174 extern size_t __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
175 size_t __wmargin);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
176
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
177 /* Return the column number of the current output point in __FS. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
178 extern size_t argp_fmtstream_point (argp_fmtstream_t __fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
179 extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
180 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
181
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
182 /* Internal routines. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
183 extern void _argp_fmtstream_update (argp_fmtstream_t __fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
184 extern void __argp_fmtstream_update (argp_fmtstream_t __fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
185 extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
186 extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
187
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
188 #ifdef __OPTIMIZE__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
189 /* Inline versions of above routines. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
190
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
191 #if !_LIBC
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
192 #define __argp_fmtstream_putc argp_fmtstream_putc
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
193 #define __argp_fmtstream_puts argp_fmtstream_puts
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
194 #define __argp_fmtstream_write argp_fmtstream_write
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
195 #define __argp_fmtstream_set_lmargin argp_fmtstream_set_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
196 #define __argp_fmtstream_set_rmargin argp_fmtstream_set_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
197 #define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
198 #define __argp_fmtstream_point argp_fmtstream_point
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
199 #define __argp_fmtstream_update _argp_fmtstream_update
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
200 #define __argp_fmtstream_ensure _argp_fmtstream_ensure
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
201 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
202
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
203 #ifndef ARGP_FS_EI
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
204 # ifdef __GNUC__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
205 /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
206 inline semantics, unless -fgnu89-inline is used. It defines a macro
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
207 __GNUC_STDC_INLINE__ to indicate this situation or a macro
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
208 __GNUC_GNU_INLINE__ to indicate the opposite situation.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
209
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
210 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
211 semantics but warns, unless -fgnu89-inline is used:
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
212 warning: C99 inline functions are not supported; using GNU89
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
213 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
214 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
215
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
216 Whereas Apple GCC 4.0.1 build 5479 without -std=c99 or -std=gnu99
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
217 implements the GNU C inline semantics and defines the macro
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
218 __GNUC_GNU_INLINE__, but it does not warn and does not support
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
219 __attribute__ ((__gnu_inline__)).
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
220
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
221 All in all, these are the possible combinations. For every compiler,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
222 we need to choose ARGP_FS_EI so that the corresponding table cell
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
223 contains an "ok".
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
224
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
225 \ ARGP_FS_EI inline extern extern
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
226 \ inline inline
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
227 CC \ __attribute__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
228 ((gnu_inline))
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
229
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
230 gcc 4.3.0 error ok ok
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
231 gcc 4.3.0 -std=gnu99 -fgnu89-inline error ok ok
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
232 gcc 4.3.0 -std=gnu99 ok error ok
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
233
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
234 gcc 4.2.2 error ok ok
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
235 gcc 4.2.2 -std=gnu99 -fgnu89-inline error ok ok
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
236 gcc 4.2.2 -std=gnu99 error warning ok
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
237
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
238 gcc 4.1.2 error ok warning
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
239 gcc 4.1.2 -std=gnu99 error ok warning
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
240
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
241 Apple gcc 4.0.1 error ok warning
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
242 Apple gcc 4.0.1 -std=gnu99 ok error warning
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
243 */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
244 # if defined __GNUC_STDC_INLINE__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
245 # define ARGP_FS_EI inline
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
246 # elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
247 # define ARGP_FS_EI extern inline __attribute__ ((__gnu_inline__))
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
248 # else
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
249 # define ARGP_FS_EI extern inline
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
250 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
251 # else
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
252 /* With other compilers, assume the ISO C99 meaning of 'inline', if
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
253 the compiler supports 'inline' at all. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
254 # define ARGP_FS_EI inline
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
255 # endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
256 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
257
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
258 ARGP_FS_EI size_t
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
259 __argp_fmtstream_write (argp_fmtstream_t __fs,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
260 const char *__str, size_t __len)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
261 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
262 if (__fs->p + __len <= __fs->end || __argp_fmtstream_ensure (__fs, __len))
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
263 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
264 memcpy (__fs->p, __str, __len);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
265 __fs->p += __len;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
266 return __len;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
267 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
268 else
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
269 return 0;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
270 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
271
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
272 ARGP_FS_EI int
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
273 __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
274 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
275 size_t __len = strlen (__str);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
276 if (__len)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
277 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
278 size_t __wrote = __argp_fmtstream_write (__fs, __str, __len);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
279 return __wrote == __len ? 0 : -1;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
280 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
281 else
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
282 return 0;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
283 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
284
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
285 ARGP_FS_EI int
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
286 __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
287 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
288 if (__fs->p < __fs->end || __argp_fmtstream_ensure (__fs, 1))
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
289 return *__fs->p++ = __ch;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
290 else
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
291 return EOF;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
292 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
293
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
294 /* Set __FS's left margin to __LMARGIN and return the old value. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
295 ARGP_FS_EI size_t
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
296 __argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, size_t __lmargin)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
297 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
298 size_t __old;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
299 if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
300 __argp_fmtstream_update (__fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
301 __old = __fs->lmargin;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
302 __fs->lmargin = __lmargin;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
303 return __old;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
304 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
305
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
306 /* Set __FS's right margin to __RMARGIN and return the old value. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
307 ARGP_FS_EI size_t
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
308 __argp_fmtstream_set_rmargin (argp_fmtstream_t __fs, size_t __rmargin)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
309 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
310 size_t __old;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
311 if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
312 __argp_fmtstream_update (__fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
313 __old = __fs->rmargin;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
314 __fs->rmargin = __rmargin;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
315 return __old;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
316 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
317
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
318 /* Set FS's wrap margin to __WMARGIN and return the old value. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
319 ARGP_FS_EI size_t
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
320 __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs, size_t __wmargin)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
321 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
322 size_t __old;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
323 if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
324 __argp_fmtstream_update (__fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
325 __old = __fs->wmargin;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
326 __fs->wmargin = __wmargin;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
327 return __old;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
328 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
329
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
330 /* Return the column number of the current output point in __FS. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
331 ARGP_FS_EI size_t
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
332 __argp_fmtstream_point (argp_fmtstream_t __fs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
333 {
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
334 if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
335 __argp_fmtstream_update (__fs);
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
336 return __fs->point_col >= 0 ? __fs->point_col : 0;
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
337 }
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
338
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
339 #if !_LIBC
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
340 #undef __argp_fmtstream_putc
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
341 #undef __argp_fmtstream_puts
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
342 #undef __argp_fmtstream_write
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
343 #undef __argp_fmtstream_set_lmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
344 #undef __argp_fmtstream_set_rmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
345 #undef __argp_fmtstream_set_wmargin
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
346 #undef __argp_fmtstream_point
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
347 #undef __argp_fmtstream_update
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
348 #undef __argp_fmtstream_ensure
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
349 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
350
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
351 #endif /* __OPTIMIZE__ */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
352
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
353 #endif /* ARGP_FMTSTREAM_USE_LINEWRAP */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
354
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
355 #endif /* argp-fmtstream.h */