00001 /* 00002 # $Id: printf.h,v 1.00 2006/20/02 11:25:00 BorisK Exp $ 00003 * 00004 * Copyright (C) 2006 ONTRACK s.r.o. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00019 * 02111-1307, USA. 00020 * 00021 * [1] ARM-based Microcontroller LPC2119/2129/2194/2292/9994, "Preliminary User Manual", February 03, 2004 00022 * Written by Boris Kralik <kralikbo@yahoo.com>, 2006 00023 * 00024 */ 00025 #ifndef PRINTF_H 00026 #define PRINTF_H 00027 00028 void printchar(char **str, int c); 00029 void outbyte(int c); 00030 int prints(char **out, const char *string, int width, int pad); 00031 int printi(char **out, int i, int b, int sg, int width, int pad, int letbase); 00032 int print(char **out, int *varg); 00033 int printf(const char *format, ...); 00034 int sprintf(char *out, const char *format, ...); 00035 00036 #endif
1.4.7