X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdio.h;h=744e7c27b16e8dfff68bf896698835687553f18c;hb=8e291166a77a6331b57d098e8211b514bba5b28a;hp=05d5b6e8a46dd77103176574ccb7d816d9d6aa21;hpb=ee68216262558493cc862deb575fb0b97ed49429;p=pdclib diff --git a/includes/stdio.h b/includes/stdio.h index 05d5b6e..744e7c2 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -44,6 +44,23 @@ typedef struct _PDCLIB_file_t FILE; #define SEEK_END 2 #define SEEK_SET 4 +/* This is a strictly internal structure required by the printf() function + family. +*/ +struct _PDCLIB_status_t +{ + int base; /* base to which the value shall be converted */ + _PDCLIB_int_fast32_t flags; /* flags and length modifiers */ + size_t n; /* maximum number of characters to be written */ + size_t i; /* number of characters already written */ + size_t this; /* output chars in the current conversion */ + char * s; /* target buffer */ + size_t width; /* width of current field */ + size_t prec; /* precision of current field */ + FILE * stream;/* for to-stream output */ + _PDCLIB_va_list ap; /* argument stack passed to the printf function */ +}; + /* Operations on files */ /* Remove the given file.