summaryrefslogtreecommitdiff
path: root/openbsd-compat/strlcpy.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-06-12 11:03:36 +0000
committerColin Watson <cjwatson@debian.org>2007-06-12 11:03:36 +0000
commit086ea76990b1e6287c24b6db74adffd4605eb3b0 (patch)
tree4650093038f9f66b02823fb07f49d6a4becd1667 /openbsd-compat/strlcpy.h
parent4ee72c71e31226c81743439fe1ed2b521b5ddb7e (diff)
parent3e2e0ac10674d77618c4c7339e18b83ced247492 (diff)
Import OpenSSH 4.6p1.
Diffstat (limited to 'openbsd-compat/strlcpy.h')
-rw-r--r--openbsd-compat/strlcpy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsd-compat/strlcpy.h b/openbsd-compat/strlcpy.h
new file mode 100644
index 000000000..3b137670d
--- /dev/null
+++ b/openbsd-compat/strlcpy.h
@@ -0,0 +1,12 @@
1/* $Id: strlcpy.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_STRLCPY_H
4#define _BSD_STRLCPY_H
5
6#include "config.h"
7#ifndef HAVE_STRLCPY
8#include <sys/types.h>
9size_t strlcpy(char *dst, const char *src, size_t siz);
10#endif /* !HAVE_STRLCPY */
11
12#endif /* _BSD_STRLCPY_H */