build: Only use tput if $TERM is defined
[netsniff-ng.git] / str.h
blob7b8916cb11ab7ea598fe8771f542f203d904bf80
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);
12 #endif /* STR_H */