From: solar Date: Thu, 22 Jan 2004 07:10:24 +0000 (+0000) Subject: Created to hold host-specific stdio code. X-Git-Tag: OLD~3 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=76b2e31a4732d1da4cfab53e71d1b5b07e6399a1 Created to hold host-specific stdio code. --- diff --git a/personalities/__pdc_stdio.h b/personalities/__pdc_stdio.h new file mode 100644 index 0000000..539d7b0 --- /dev/null +++ b/personalities/__pdc_stdio.h @@ -0,0 +1,22 @@ +// ---------------------------------------------------------------------------- +// $Id$ +// ---------------------------------------------------------------------------- +// Public Domain C Library - http://pdclib.sourceforge.net +// This code is Public Domain. Use, modify, and redistribute at will. +// ---------------------------------------------------------------------------- +// Input/output - personality +// ---------------------------------------------------------------------------- + +#define BUFSIZ // buffer size (see setvbuf()), >= 256 +#define FOPEN_MAX // supported number of simultaneously open files, >= 8 +#define FILENAME_MAX // supported length of filenames +#define L_tmpnam // length of filenames generated by tmpnam() including \0 +#define TMP_MAX // number of unique filenames generateable by tmpnam(), + // >= 25 + +#define stderr // FILE * +#define stdin // FILE * +#define stdout // FILE * + +// storing return code in fh->HostRC +void __pdc_fclose( FILE * fh );