diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-06 15:17:33 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-06 15:17:33 +0000 |
commit | ea1be3949f792c8eca50f8cd1078aaa59f1c857f (patch) | |
tree | 14001b824756ccde98d833e3d9b7eff26cd92e83 /lib/libc | |
parent | 7e68edf03daae10419e2e138a1e6baf650c26c5a (diff) |
some NAME section cleanup
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/mktemp.3 | 9 | ||||
-rw-r--r-- | lib/libc/string/bstring.3 | 4 | ||||
-rw-r--r-- | lib/libc/string/strcasecmp.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/strcmp.3 | 4 | ||||
-rw-r--r-- | lib/libc/string/strcpy.3 | 4 | ||||
-rw-r--r-- | lib/libc/string/string.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/strlcpy.3 | 4 |
7 files changed, 20 insertions, 17 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3 index de5991617a4..b3949caa39c 100644 --- a/lib/libc/stdio/mktemp.3 +++ b/lib/libc/stdio/mktemp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mktemp.3,v 1.15 1999/05/25 21:16:26 aaron Exp $ +.\" $OpenBSD: mktemp.3,v 1.16 1999/06/06 15:17:31 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -35,7 +35,10 @@ .Dt MKTEMP 3 .Os .Sh NAME -.Nm mktemp +.Nm mktemp , +.Nm mkstemp , +.Nm mkstemps , +.Nm mkdtemp .Nd make temporary file name (unique) .Sh SYNOPSIS .Fd #include <unistd.h> @@ -233,7 +236,7 @@ should be rewritten like this: char sfn[15] = ""; FILE *sfp; int fd = -1; - + strcpy(sfn, "/tmp/ed.XXXXXX"); if ((fd = mkstemp(sfn)) == -1 || (sfp = fdopen(fd, "w+")) == NULL) { diff --git a/lib/libc/string/bstring.3 b/lib/libc/string/bstring.3 index b553fd0beb2..0dda6c7278c 100644 --- a/lib/libc/string/bstring.3 +++ b/lib/libc/string/bstring.3 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bstring.3,v 1.2 1996/08/19 08:33:59 tholo Exp $ +.\" $OpenBSD: bstring.3,v 1.3 1999/06/06 15:17:31 aaron Exp $ .\" .Dd April 19, 1991 .Dt BSTRING 3 @@ -44,7 +44,7 @@ .Nm memchr , .Nm memcmp , .Nm memcpy , -.Nm memmove, +.Nm memmove , .Nm memset .Nd byte string operations .Sh SYNOPSIS diff --git a/lib/libc/string/strcasecmp.3 b/lib/libc/string/strcasecmp.3 index 52a13055ee5..be4e96a1c56 100644 --- a/lib/libc/string/strcasecmp.3 +++ b/lib/libc/string/strcasecmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcasecmp.3,v 1.4 1998/06/15 17:55:11 mickey Exp $ +.\" $OpenBSD: strcasecmp.3,v 1.5 1999/06/06 15:17:32 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -39,7 +39,8 @@ .Dt STRCASECMP 3 .Os .Sh NAME -.Nm strcasecmp +.Nm strcasecmp , +.Nm strncasecmp .Nd compare strings, ignoring case .Sh SYNOPSIS .Fd #include <string.h> @@ -69,7 +70,6 @@ The comparison is done using unsigned characters, so that is greater than .Ql \e0 . .Pp -The .Fn strncasecmp compares at most .Fa len diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3 index b8dc8ac4ff9..a1f59b4dd98 100644 --- a/lib/libc/string/strcmp.3 +++ b/lib/libc/string/strcmp.3 @@ -33,13 +33,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strcmp.3,v 1.3 1999/06/04 19:14:56 aaron Exp $ +.\" $OpenBSD: strcmp.3,v 1.4 1999/06/06 15:17:32 aaron Exp $ .\" .Dd June 29, 1991 .Dt STRCMP 3 .Os .Sh NAME -.Nm strcmp, +.Nm strcmp , .Nm strncmp .Nd compare strings .Sh SYNOPSIS diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3 index 75727223ff0..36434ca04b8 100644 --- a/lib/libc/string/strcpy.3 +++ b/lib/libc/string/strcpy.3 @@ -33,13 +33,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strcpy.3,v 1.7 1999/06/04 19:14:56 aaron Exp $ +.\" $OpenBSD: strcpy.3,v 1.8 1999/06/06 15:17:32 aaron Exp $ .\" .Dd June 29, 1991 .Dt STRCPY 3 .Os .Sh NAME -.Nm strcpy, +.Nm strcpy , .Nm strncpy .Nd copy strings .Sh SYNOPSIS diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3 index e52d18c0a2b..ee74224967e 100644 --- a/lib/libc/string/string.3 +++ b/lib/libc/string/string.3 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: string.3,v 1.6 1999/05/23 14:11:03 aaron Exp $ +.\" $OpenBSD: string.3,v 1.7 1999/06/06 15:17:32 aaron Exp $ .\" .Dd April 19, 1991 .Dt STRING 3 @@ -44,7 +44,7 @@ .Nm strrchr , .Nm strcmp , .Nm strncmp , -.Nm strcasecmp, +.Nm strcasecmp , .Nm strncasecmp , .Nm strcpy , .Nm strlcpy , @@ -52,7 +52,7 @@ .Nm strerror , .Nm strlen , .Nm strpbrk , -.Nm strsep, +.Nm strsep , .Nm strspn , .Nm strcspn , .Nm strstr , diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3 index 357502c0d7a..52026669ea5 100644 --- a/lib/libc/string/strlcpy.3 +++ b/lib/libc/string/strlcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strlcpy.3,v 1.4 1999/05/16 19:55:18 alex Exp $ +.\" $OpenBSD: strlcpy.3,v 1.5 1999/06/06 15:17:32 aaron Exp $ .\" .\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -29,7 +29,7 @@ .Dt STRLCPY 3 .Os .Sh NAME -.Nm strlcpy, +.Nm strlcpy , .Nm strlcat .Nd size-bounded string copying and concatenation .Sh SYNOPSIS |