1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-07 21:10:15 +00:00
cc65/libsrc/common/_printf.h
cuz dcc0fe91a2 Several type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:16:40 +00:00

42 lines
681 B
C

/*
* _printf.h
*
* (C) Copyright 1998 Ullrich von Bassewitz (uz@ibb.schwaben.com)
*
*/
#ifndef __PRINTF_H
#define __PRINTF_H
/* Forward */
struct outdesc;
/* Type of the function that is called to output data */
typedef void (*outfunc) (struct outdesc* desc, const char* buf, unsigned count);
struct outdesc {
outfunc fout; /* Routine used to output data */
int ccount; /* Character counter */
void* ptr; /* Data internal to print routine */
unsigned uns; /* Data internal to print routine */
};
/* Internal formatting routine */
int _printf (struct outdesc* d, const char* format, va_list ap);
/* End of _printf.h */
#endif