summaryrefslogtreecommitdiff
path: root/lib/libc/string/wcslcpy.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-07-25 00:38:54 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-07-25 00:38:54 +0000
commitea9f4201a2a329e7f11830bc5cc7ef0e15a96899 (patch)
treead032412231d4a884a0fa5eb5968c8dcf8b9edb5 /lib/libc/string/wcslcpy.3
parentf3340367353970776bc054537ea43f3ee8378f24 (diff)
update HISTORY and SEE ALSO for all of string(3), together with various
smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree
Diffstat (limited to 'lib/libc/string/wcslcpy.3')
-rw-r--r--lib/libc/string/wcslcpy.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/string/wcslcpy.3 b/lib/libc/string/wcslcpy.3
index 6f068dc9dff..ed6de07cbea 100644
--- a/lib/libc/string/wcslcpy.3
+++ b/lib/libc/string/wcslcpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcslcpy.3,v 1.1 2011/07/09 16:32:11 nicm Exp $
+.\" $OpenBSD: wcslcpy.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
.\"
.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 9 2011 $
+.Dd $Mdocdate: July 25 2011 $
.Dt WCSLCPY 3
.Os
.Sh NAME
@@ -127,6 +127,7 @@ is incorrect or that
is not terminated with a null wide character).
The check exists to prevent potential security problems in incorrect code.
.Sh SEE ALSO
+.Xr strlcpy 3 ,
.Xr swprintf 3 ,
.Xr wcsncat 3 ,
.Xr wcsncpy 3
@@ -137,3 +138,10 @@ and
.Fn wcslcat
functions first appeared in
.Ox 3.8 .
+.Sh AUTHORS
+The
+.Fn wcslcpy
+and
+.Fn wcslcat
+functions are based on code by
+.An Todd C. Miller Aq Todd.Miller@courtesan.com .