Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb65b2ce

Browse files
committed
Add URL about strlcpy() creation history.
1 parent8ef7287 commitb65b2ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/port/strlcpy.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* 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 $
1111
*
1212
* This file was taken from OpenBSD and is used on platforms that don't
1313
* provide strlcpy(). The OpenBSD copyright terms follow.
@@ -39,6 +39,7 @@
3939
* Copy src to string dst of size siz. At most siz-1 characters
4040
* will be copied. Always NUL terminates (unless siz == 0).
4141
* Returns strlen(src); if retval >= siz, truncation occurred.
42+
* Function creation history: http://www.gratisoft.us/todd/papers/strlcpy.html
4243
*/
4344
size_t
4445
strlcpy(char*dst,constchar*src,size_tsiz)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp