10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ef7287 commit b65b2ceCopy full SHA for b65b2ce
src/port/strlcpy.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $PostgreSQL: pgsql/src/port/strlcpy.c,v 1.1 2006/09/27 16:29:46 tgl Exp $
+ * $PostgreSQL: pgsql/src/port/strlcpy.c,v 1.2 2006/10/02 23:58:59 momjian Exp $
11
12
* This file was taken from OpenBSD and is used on platforms that don't
13
* provide strlcpy(). The OpenBSD copyright terms follow.
@@ -39,6 +39,7 @@
39
* Copy src to string dst of size siz. At most siz-1 characters
40
* will be copied. Always NUL terminates (unless siz == 0).
41
* Returns strlen(src); if retval >= siz, truncation occurred.
42
+ * Function creation history: http://www.gratisoft.us/todd/papers/strlcpy.html
43
*/
44
size_t
45
strlcpy(char *dst, const char *src, size_t siz)
0 commit comments