Browse Source

"of", not "on" (from Henric Jungheim)

OPENBSD_2_9
angelos 24 years ago
parent
commit
a8575fe917
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/string/strlcpy.3

+ 2
- 2
src/lib/libc/string/strlcpy.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strlcpy.3,v 1.10 2000/11/06 01:03:25 aaron Exp $
.\" $OpenBSD: strlcpy.3,v 1.11 2000/11/16 23:27:41 angelos Exp $
.\" .\"
.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved. .\" All rights reserved.
@ -143,7 +143,7 @@ if (strlcat(pname, file, sizeof(pname)) >= sizeof(pname))
.Ed .Ed
.Pp .Pp
Since we know how many characters we copied the first time, we can Since we know how many characters we copied the first time, we can
speed things up a bit by using a copy instead on an append:
speed things up a bit by using a copy instead of an append:
.Bd -literal -offset indent .Bd -literal -offset indent
char *dir, *file, pname[MAXPATHLEN]; char *dir, *file, pname[MAXPATHLEN];
size_t n; size_t n;


Loading…
Cancel
Save