diff options
Diffstat (limited to 'other/ssharp/openbsd-compat/strlcpy.h')
| -rw-r--r-- | other/ssharp/openbsd-compat/strlcpy.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/other/ssharp/openbsd-compat/strlcpy.h b/other/ssharp/openbsd-compat/strlcpy.h new file mode 100644 index 0000000..9c7c21b --- /dev/null +++ b/other/ssharp/openbsd-compat/strlcpy.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | /* $Id: strlcpy.h,v 1.1.1.1 2001/09/19 14:44:59 stealth 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 */ | ||
