summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sprintf.h
blob: 0a927f7105cfc8560b91484b54bd3ed7dd7e9183 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_SPRINTF_H_INCLUDED_
#define _NXT_SPRINTF_H_INCLUDED_


/* STUB */
#define NXT_DOUBLE_LEN  (1 + DBL_MAX_10_EXP)


NXT_EXPORT u_char *nxt_cdecl nxt_sprintf(u_char *buf, u_char *end,
    const char *fmt, ...);
NXT_EXPORT u_char *nxt_vsprintf(u_char *buf, u_char *end,
    const char *fmt, va_list args);


#endif /* _NXT_SPRINTF_H_INCLUDED_ */