xref: /titanic_50/usr/src/cmd/ssh/include/strlcpy.h (revision c77a61a72b5ecdc507d6cf104142edd371a16c84)
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