1999-04-07 21:05:13 +00:00
|
|
|
|
/*
|
|
|
|
|
+----------------------------------------------------------------------+
|
1999-07-16 13:13:16 +00:00
|
|
|
|
| PHP version 4.0 |
|
1999-04-07 21:05:13 +00:00
|
|
|
|
+----------------------------------------------------------------------+
|
2000-01-01 01:32:05 +00:00
|
|
|
|
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
|
1999-04-07 21:05:13 +00:00
|
|
|
|
+----------------------------------------------------------------------+
|
2000-05-18 15:34:45 +00:00
|
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
1999-07-16 13:13:16 +00:00
|
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
|
| available at through the world-wide-web at |
|
2000-05-18 15:34:45 +00:00
|
|
|
|
| http://www.php.net/license/2_02.txt. |
|
1999-07-16 13:13:16 +00:00
|
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-04-07 21:05:13 +00:00
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
| Authors: Stig S<EFBFBD>ther Bakken <ssb@guardian.no> |
|
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
*/
|
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
|
#ifndef SNPRINTF_H
|
|
|
|
|
#define SNPRINTF_H
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
|
|
#ifndef HAVE_SNPRINTF
|
2000-02-10 19:41:21 +00:00
|
|
|
|
extern int ap_php_snprintf(char *, size_t, const char *, ...);
|
|
|
|
|
#define snprintf ap_php_snprintf
|
1999-04-07 21:05:13 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
2000-02-10 19:41:21 +00:00
|
|
|
|
extern int ap_php_vsnprintf(char *, size_t, const char *, va_list ap);
|
|
|
|
|
#define vsnprintf ap_php_vsnprintf
|
1999-04-07 21:05:13 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
2000-07-23 08:25:27 +00:00
|
|
|
|
#if PHP_BROKEN_SPRINTF
|
1999-08-02 19:17:14 +00:00
|
|
|
|
int php_sprintf (char* s, const char* format, ...);
|
2000-03-12 17:18:21 +00:00
|
|
|
|
#define sprintf php_sprintf
|
1999-04-07 21:05:13 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
|
#endif /* SNPRINTF_H */
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Local variables:
|
|
|
|
|
* tab-width: 4
|
|
|
|
|
* c-basic-offset: 4
|
|
|
|
|
* End:
|
|
|
|
|
*/
|