2006-02-03 15:19:58 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002 by Felix Arends
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2006-02-03 15:19:58 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __SPRINTF_H__
|
|
|
|
#define __SPRINTF_H__
|
|
|
|
|
|
|
|
#include <stddef.h>
|
2006-01-09 11:22:36 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2006-02-03 15:19:58 +00:00
|
|
|
int snprintf (char *buf, size_t size, const char *fmt, ...);
|
|
|
|
char *strtok_r (char *, const char *, char **);
|
|
|
|
|
2006-01-09 11:22:36 +00:00
|
|
|
int rockbox_fprintf (int fd, const char *fmt, ...);
|
2006-02-03 15:19:58 +00:00
|
|
|
#define fprintf rockbox_fprintf
|
2006-01-09 11:22:36 +00:00
|
|
|
|
2006-02-03 15:19:58 +00:00
|
|
|
int rockbox_vsnprintf (char *buf, int size, const char *fmt, va_list ap);
|
2006-01-09 11:22:36 +00:00
|
|
|
#define vsnprintf rockbox_vsnprintf
|
2006-02-03 15:19:58 +00:00
|
|
|
|
|
|
|
#endif /* __SPRINTF_H__ */
|