fix a stupid bug which made mountpoint detection based on folders non-functional...
[Rockbox.git] / firmware / include / sprintf.h
blob74fa44bbf3810ac45ee06f19d3e772c3bcf9c782
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Felix Arends
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef __SPRINTF_H__
21 #define __SPRINTF_H__
23 #include <stddef.h>
24 #include <stdarg.h>
25 #include <_ansi.h>
27 int snprintf (char *buf, size_t size, const char *fmt, ...)
28 ATTRIBUTE_PRINTF(3, 4);
30 int vsnprintf (char *buf, int size, const char *fmt, va_list ap);
31 int fdprintf (int fd, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3);
33 #endif /* __SPRINTF_H__ */