strlcpy.h

00001 /* 
00002  * Copyright (c) 2005-2012 by KoanLogic s.r.l. - All rights reserved.  
00003  */
00004 #ifndef _LIBU_STRLCPY_H_
00005 #define _LIBU_STRLCPY_H_
00006 
00007 #include <u/libu_conf.h>
00008 #include <sys/types.h>
00009 
00010 #ifdef HAVE_STRLCPY
00011 #include <string.h>
00012 #else   /* !HAVE_STRLCPY */
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif  /* __cplusplus */
00017 
00018 size_t strlcpy(char *dst, const char *src, size_t siz);
00019 
00020 #ifdef __cplusplus
00021 }
00022 #endif  /* __cplusplus */
00023 
00024 #endif  /* HAVE_STRLCPY */
00025 
00026 #endif  /* !_LIBU_STRLCPY_H_ */

←Products
© 2005-2012 - KoanLogic S.r.l. - All rights reserved