summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include/strlcpy.h
blob: 6215c105f7992dd336764b17b1dc805e22d25705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* $Id: strlcpy.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */

#ifndef	_STRLCPY_H
#define	_STRLCPY_H

#pragma ident	"%Z%%M%	%I%	%E% SMI"

#ifdef __cplusplus
extern "C" {
#endif

#include "config.h"
#ifndef HAVE_STRLCPY
#include <sys/types.h>
size_t strlcpy(char *dst, const char *src, size_t siz);
#endif /* !HAVE_STRLCPY */

#ifdef __cplusplus
}
#endif

#endif /* _STRLCPY_H */