153#include <lal/LALStdlib.h>
154#include <lal/Units.h>
155#include <lal/AVFactories.h>
156#include <lal/StringInput.h>
157#include <lal/StreamOutput.h>
167 if ( putc(
'"', stream ) == EOF )
return 1;
168 while ( ( c = *(
string++) ) !=
'\0' ) {
172 if ( fputs(
"\\a", stream ) == EOF )
return 1;
173 }
else if ( c ==
'\b' ) {
174 if ( fputs(
"\\b", stream ) == EOF )
return 1;
175 }
else if ( c ==
'\f' ) {
176 if ( fputs(
"\\f", stream ) == EOF )
return 1;
177 }
else if ( c ==
'\n' ) {
178 if ( fputs(
"\\n", stream ) == EOF )
return 1;
179 }
else if ( c ==
'\r' ) {
180 if ( fputs(
"\\r", stream ) == EOF )
return 1;
181 }
else if ( c ==
'\t' ) {
182 if ( fputs(
"\\t", stream ) == EOF )
return 1;
183 }
else if ( c ==
'\v' ) {
184 if ( fputs(
"\\v", stream ) == EOF )
return 1;
185 }
else if ( c ==
'"' ) {
186 if ( fputs(
"\\\"", stream ) == EOF )
return 1;
187 }
else if ( c ==
'\\' ) {
188 if ( fputs(
"\\\\", stream ) == EOF )
return 1;
192 else if ( isprint( c ) ) {
193 if ( putc( c, stream ) == EOF )
return 1;
204 if ( putc(
'"', stream ) == EOF )
return 1;
210#define fprintf __extension__ fprintf
214#define TYPE COMPLEX16
217#include "StreamSeriesOutput_source.c"
227#include "StreamSeriesOutput_source.c"
237#include "StreamSeriesOutput_source.c"
247#include "StreamSeriesOutput_source.c"
255#define FMT "%"LAL_INT2_FORMAT
257#include "StreamSeriesOutput_source.c"
265#define FMT "%"LAL_INT4_FORMAT
267#include "StreamSeriesOutput_source.c"
275#define FMT "%"LAL_INT8_FORMAT
277#include "StreamSeriesOutput_source.c"
285#define FMT "%"LAL_UINT2_FORMAT
287#include "StreamSeriesOutput_source.c"
295#define FMT "%"LAL_UINT4_FORMAT
297#include "StreamSeriesOutput_source.c"
305#define FMT "%"LAL_UINT8_FORMAT
307#include "StreamSeriesOutput_source.c"
static int LALWriteLiteral(FILE *stream, const CHAR *string)
unsigned char UCHAR
One-byte unsigned integer, see Headers LAL(Atomic)Datatypes.h for more details.
char CHAR
One-byte signed integer, see Headers LAL(Atomic)Datatypes.h for more details.