xsys: added actually used functions into xsys from timespec.h
[netsniff-ng.git] / src / strlcpy.h
blobe76df29270e8b69eba0bbd5476c4c94c0a7bd665
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2009, 2010 Daniel Borkmann.
5 * Subject to the GPL, version 2.
6 */
8 #ifndef STRLCPY_H
9 #define STRLCPY_H
11 extern size_t strlcpy(char *dest, const char *src, size_t size);
12 extern int slprintf(char *dst, size_t size, const char *fmt, ...);
14 #endif /* STRLCPY_H */