xref: /titanic_41/usr/src/cmd/ssh/include/strlcpy.h (revision 0f1702c5201310f0529cd5abb77652e5e9b241b6)
1 /* $Id: strlcpy.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2 
3 #ifndef	_STRLCPY_H
4 #define	_STRLCPY_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include "config.h"
13 #ifndef HAVE_STRLCPY
14 #include <sys/types.h>
15 size_t strlcpy(char *dst, const char *src, size_t siz);
16 #endif /* !HAVE_STRLCPY */
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 #endif /* _STRLCPY_H */
23