|
|
1.1 root 1: /*
2: * Creation Date: <2003/12/20 01:51:22 samuel>
3: * Time-stamp: <2004/01/07 19:02:17 samuel>
4: *
5: * <vsprintf.h>
6: *
7: *
8: *
9: * Copyright (C) 2003, 2004 Samuel Rydh ([email protected])
10: *
11: * This program is free software; you can redistribute it and/or
12: * modify it under the terms of the GNU General Public License
13: * version 2
14: *
15: */
16:
17: #ifndef _H_VSPRINTF
18: #define _H_VSPRINTF
19:
20: #include <stdarg.h>
21: #include "config.h"
22:
23: int vsprintf(char *buf, const char *fmt, va_list args)
24: __attribute__((__format__(__printf__, 2, 0)));
25: int sprintf(char * buf, const char *fmt, ...)
26: __attribute__((__format__(__printf__, 2, 3)));
27: int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
28: __attribute__((__format__(__printf__, 3, 0)));
29: int snprintf(char * buf, size_t size, const char *fmt, ...)
30: __attribute__((__format__(__printf__, 3, 4)));
31:
32: int forth_printf(const char *fmt, ...)
33: __attribute__((__format__(__printf__, 1, 2)));
34:
35: #endif /* _H_VSPRINTF */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.