cpp: Allow to pass additional cpp options
[netsniff-ng.git] / str.h
blob7d078dac5cdb8af8797c23a2071fccfd70eb3df2
1 #ifndef STR_H
2 #define STR_H
4 #include "built_in.h"
6 extern size_t strlcpy(char *dest, const char *src, size_t size);
7 extern int slprintf(char *dst, size_t size, const char *fmt, ...) __check_format_printf(3, 4);
8 extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...);
9 extern char *strtrim_right(char *p, char c);
10 extern noinline void *xmemset(void *s, int c, size_t n);
11 extern char *argv2str(int startind, int argc, char **argv);
13 #endif /* STR_H */