diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/basename.c | 6 | ||||
-rw-r--r-- | lib/libc/gen/dirname.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/getrrsetbyname.3 | 6 |
3 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c index 9aa31be2473..a4823ddaf10 100644 --- a/lib/libc/gen/basename.c +++ b/lib/libc/gen/basename.c @@ -1,4 +1,4 @@ -/* $OpenBSD: basename.c,v 1.7 2002/05/24 21:22:37 deraadt Exp $ */ +/* $OpenBSD: basename.c,v 1.8 2002/06/09 05:03:59 deraadt Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -28,7 +28,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: basename.c,v 1.7 2002/05/24 21:22:37 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: basename.c,v 1.8 2002/06/09 05:03:59 deraadt Exp $"; #endif /* not lint */ #include <errno.h> @@ -54,7 +54,7 @@ basename(path) while (endp > path && *endp == '/') endp--; - /* All slashes becomes "/" */ + /* All slashes become "/" */ if (endp == path && *endp == '/') { (void)strlcpy(bname, "/", sizeof bname); return(bname); diff --git a/lib/libc/gen/dirname.3 b/lib/libc/gen/dirname.3 index 9351b700fa4..ab1cca11bbc 100644 --- a/lib/libc/gen/dirname.3 +++ b/lib/libc/gen/dirname.3 @@ -24,14 +24,14 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: dirname.3,v 1.11 2001/08/06 10:42:25 mpech Exp $ +.\" $OpenBSD: dirname.3,v 1.12 2002/06/09 05:03:59 deraadt Exp $ .\" .Dd August 17, 1997 .Dt DIRNAME 3 .Os .Sh NAME .Nm dirname -.Nd extract the directory portition of a pathname +.Nd extract the directory portion of a pathname .Sh SYNOPSIS .Fd #include <libgen.h> .Ft char * diff --git a/lib/libc/net/getrrsetbyname.3 b/lib/libc/net/getrrsetbyname.3 index 710a5624c87..50cadfd3720 100644 --- a/lib/libc/net/getrrsetbyname.3 +++ b/lib/libc/net/getrrsetbyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrrsetbyname.3,v 1.6 2002/05/01 08:03:29 mpech Exp $ +.\" $OpenBSD: getrrsetbyname.3,v 1.7 2002/06/09 05:03:59 deraadt Exp $ .\" .\" Copyright (C) 2000, 2001 Internet Software Consortium. .\" @@ -101,7 +101,9 @@ and .Li rdatainfo structures, and the canonical host name strings pointed to by the -.Li rrsetinfostructure. +.Li rrsetinfo +u lib/libc/sys/lseek.2 +structure. Memory allocated for the dynamically allocated structures created by a successful call to .Fn getrrsetbyname |