#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <errno.h>
Go to the source code of this file.
#define breakeven_point 6 /* some reasonable one-size-fits-all value */ |
#define fast_memcpy |
( |
|
d, |
|
|
|
s, |
|
|
|
n |
|
) |
| |
Value:{ register size_t nn = (size_t)(n); \
else if (nn > 0) { \
register char *dd; register const char *ss; \
for (ss=(s), dd=(d); nn>0; nn--) *dd++ = *ss++; } }
Definition at line 363 of file snprintf.c.
#define fast_memset |
( |
|
d, |
|
|
|
c, |
|
|
|
n |
|
) |
| |
Value:{ register size_t nn = (size_t)(n); \
else if (nn > 0) { \
register char *dd; register const int cc=(int)(c); \
for (dd=(d); nn>0; nn--) *dd++ = cc; } }
Definition at line 370 of file snprintf.c.
#define isdigit |
( |
|
c | ) |
((c) >= '0' && (c) <= '9') |
#define portable_snprintf snprintf |
#define PORTABLE_SNPRINTF_VERSION_MAJOR 2 |
#define PORTABLE_SNPRINTF_VERSION_MINOR 2 |
#define portable_vsnprintf vsnprintf |
int portable_snprintf |
( |
char * |
str, |
|
|
size_t |
str_m, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
int portable_vsnprintf |
( |
char * |
str, |
|
|
size_t |
str_m, |
|
|
const char * |
fmt, |
|
|
va_list |
ap |
|
) |
| |
Initial value:= "\n\
@(#)snprintf.c, v2.2: Mark Martinec, <mark.martinec@ijs.si>\n\
@(#)snprintf.c, v2.2: Copyright 1999, Mark Martinec. Frontier Artistic License applies.\n\
@(#)snprintf.c, v2.2: http://www.ijs.si/software/snprintf/\n"
Definition at line 412 of file snprintf.c.
log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:14:17