[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Define strlcpy() in include/xen/string.h



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID ab982f583b73ab0cf4dc2b5573d5d62a0322f491
# Parent  5541ea99106a32d2b11809bf4d3366dc6eddb93d
Define strlcpy() in include/xen/string.h

Signed-off-by: Tsunehisa Doi <doi.tsunehisa@xxxxxxxxxxxxxx>
Signed-off-by: Kouya SHIMURA <kouya@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

diff -r 5541ea99106a -r ab982f583b73 xen/include/xen/string.h
--- a/xen/include/xen/string.h  Sun Feb 26 15:38:59 2006
+++ b/xen/include/xen/string.h  Mon Feb 27 07:44:11 2006
@@ -24,6 +24,9 @@
 #endif
 #ifndef __HAVE_ARCH_STRNCPY
 extern char * strncpy(char *,const char *, __kernel_size_t);
+#endif
+#ifndef __HAVE_ARCH_STRLCPY
+extern size_t strlcpy(char *,const char *, __kernel_size_t);
 #endif
 #ifndef __HAVE_ARCH_STRCAT
 extern char * strcat(char *, const char *);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.