summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcslcpy.3
diff options
context:
space:
mode:
authorschwarze <>2011-07-25 00:38:53 +0000
committerschwarze <>2011-07-25 00:38:53 +0000
commit339c056f856313e215baab8ddc4bc0ce064b4571 (patch)
tree7c0511efd76ae46bc18c0955627ddf69509014c6 /src/lib/libc/string/wcslcpy.3
parent3ad0ccfe078fe407c711a9d1fb21b9b79aa67f2c (diff)
downloadopenbsd-339c056f856313e215baab8ddc4bc0ce064b4571.tar.gz
openbsd-339c056f856313e215baab8ddc4bc0ce064b4571.tar.bz2
openbsd-339c056f856313e215baab8ddc4bc0ce064b4571.zip
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 'src/lib/libc/string/wcslcpy.3')
-rw-r--r--src/lib/libc/string/wcslcpy.312
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/libc/string/wcslcpy.3 b/src/lib/libc/string/wcslcpy.3
index 6f068dc9df..ed6de07cbe 100644
--- a/src/lib/libc/string/wcslcpy.3
+++ b/src/lib/libc/string/wcslcpy.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: wcslcpy.3,v 1.1 2011/07/09 16:32:11 nicm Exp $ 1.\" $OpenBSD: wcslcpy.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> 3.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: July 9 2011 $ 17.Dd $Mdocdate: July 25 2011 $
18.Dt WCSLCPY 3 18.Dt WCSLCPY 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -127,6 +127,7 @@ is incorrect or that
127is not terminated with a null wide character). 127is not terminated with a null wide character).
128The check exists to prevent potential security problems in incorrect code. 128The check exists to prevent potential security problems in incorrect code.
129.Sh SEE ALSO 129.Sh SEE ALSO
130.Xr strlcpy 3 ,
130.Xr swprintf 3 , 131.Xr swprintf 3 ,
131.Xr wcsncat 3 , 132.Xr wcsncat 3 ,
132.Xr wcsncpy 3 133.Xr wcsncpy 3
@@ -137,3 +138,10 @@ and
137.Fn wcslcat 138.Fn wcslcat
138functions first appeared in 139functions first appeared in
139.Ox 3.8 . 140.Ox 3.8 .
141.Sh AUTHORS
142The
143.Fn wcslcpy
144and
145.Fn wcslcat
146functions are based on code by
147.An Todd C. Miller Aq Todd.Miller@courtesan.com .