summaryrefslogtreecommitdiff
path: root/main/strlcpy.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-20 17:40:03 +0000
committerAndi Gutmans <andi@php.net>2000-04-20 17:40:03 +0000
commit503bb3bedb847ed99722208da1878ab56f3b5e9d (patch)
tree40ceec254e6e67d4ddc393ea51f799c2cf6eeb09 /main/strlcpy.c
parent883bd2b1de0afae5a3b9f36c0778ba0b08390e25 (diff)
downloadphp-git-503bb3bedb847ed99722208da1878ab56f3b5e9d.tar.gz
- Export strlcat()/strcpy() for Frank.
- Windows doesn't have lstat().
Diffstat (limited to 'main/strlcpy.c')
-rw-r--r--main/strlcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/strlcpy.c b/main/strlcpy.c
index c34bf0a001..382d8ba56e 100644
--- a/main/strlcpy.c
+++ b/main/strlcpy.c
@@ -43,7 +43,7 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
*/
-size_t strlcpy(dst, src, siz)
+PHPAPI size_t strlcpy(dst, src, siz)
char *dst;
const char *src;
size_t siz;