mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
22 lines
402 B
C
22 lines
402 B
C
#ifndef __CR_STRING_H__
|
|
#define __CR_STRING_H__
|
|
|
|
#include <sys/types.h>
|
|
#include <string.h>
|
|
|
|
#ifdef CONFIG_HAS_LIBBSD
|
|
# include <bsd/string.h>
|
|
#endif
|
|
|
|
#include "config.h"
|
|
|
|
#ifndef CONFIG_HAS_STRLCPY
|
|
extern size_t strlcpy(char *dest, const char *src, size_t size);
|
|
#endif
|
|
|
|
#ifndef CONFIG_HAS_STRLCAT
|
|
extern size_t strlcat(char *dest, const char *src, size_t count);
|
|
#endif
|
|
|
|
#endif /* __CR_STRING_H__ */
|