|
7 | 7 | * |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * $PostgreSQL: pgsql/src/port/strlcpy.c,v 1.1 2006/09/27 16:29:46 tgl Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/port/strlcpy.c,v 1.2 2006/10/02 23:58:59 momjian Exp $ |
11 | 11 | * |
12 | 12 | * This file was taken from OpenBSD and is used on platforms that don't |
13 | 13 | * provide strlcpy(). The OpenBSD copyright terms follow. |
|
39 | 39 | * Copy src to string dst of size siz. At most siz-1 characters |
40 | 40 | * will be copied. Always NUL terminates (unless siz == 0). |
41 | 41 | * Returns strlen(src); if retval >= siz, truncation occurred. |
| 42 | + * Function creation history: http://www.gratisoft.us/todd/papers/strlcpy.html |
42 | 43 | */ |
43 | 44 | size_t |
44 | 45 | strlcpy(char*dst,constchar*src,size_tsiz) |
|