Logo ROOT  
Reference Guide
strlcpy.h
Go to the documentation of this file.
1/* @(#)root/clib:$Id$ */
2/* Author: Fons Rademakers 20/9/2010 */
3
4/*
5 Inlcude file for strlcpy and strlcat. They are in string.h on systems
6 that have these function (BSD based systems).
7*/
8
9#ifndef ROOT_strlcpy
10#define ROOT_strlcpy
11
12#include <ROOT/RConfig.hxx>
13
14#ifndef HAS_STRLCPY
15
16#ifndef WIN32
17# include <unistd.h>
18#else
19# include <sys/types.h>
20#endif
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26size_t strlcpy(char *dst, const char *src, size_t siz);
27size_t strlcat(char *dst, const char *src, size_t siz);
28
29#ifdef __cplusplus
30}
31#endif
32#endif /* HAS_STRLCPY */
33
34#endif /* ROOT_strlcpy */
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src
size_t strlcat(char *dst, const char *src, size_t siz)
Definition strlcat.c:42
size_t strlcpy(char *dst, const char *src, size_t siz)
Definition strlcpy.c:40