diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-23 17:49:41 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-23 17:49:41 +0000 |
commit | 45431c9b4677608680cd071768cbf156b316a7e8 (patch) | |
tree | 9dd03d2cda2d52d8457ec7ae06902fbe0496e1e0 /openbsd-compat/strlcpy.h | |
parent | 6dbe10d82295512af03b81649c26841381318996 (diff) | |
parent | 9221adce6959801664fd4a340c19e6b69107ad0b (diff) |
Import OpenSSH 3.7.1p2.
Diffstat (limited to 'openbsd-compat/strlcpy.h')
-rw-r--r-- | openbsd-compat/strlcpy.h | 12 |
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> | ||
9 | size_t strlcpy(char *dst, const char *src, size_t siz); | ||
10 | #endif /* !HAVE_STRLCPY */ | ||
11 | |||
12 | #endif /* _BSD_STRLCPY_H */ | ||