projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3b03c
)
Add URL about strlcpy() creation history.
author
Bruce Momjian
<
[email protected]
>
Mon, 2 Oct 2006 23:58:59 +0000
(23:58 +0000)
committer
Bruce Momjian
<
[email protected]
>
Mon, 2 Oct 2006 23:58:59 +0000
(23:58 +0000)
src/port/strlcpy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/strlcpy.c
b/src/port/strlcpy.c
index 7da5d3e2903fcda0410dfaea336dc57f79ae4b08..7d42875a4292092cc8c68eeb3fe406a7033bef51 100644
(file)
--- a/
src/port/strlcpy.c
+++ b/
src/port/strlcpy.c
@@
-39,6
+39,7
@@
* Copy src to string dst of size siz. At most siz-1 characters
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
+ * Function creation history: http://www.gratisoft.us/todd/papers/strlcpy.html
*/
size_t
strlcpy(char *dst, const char *src, size_t siz)