summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/devname.32
-rw-r--r--lib/libc/gen/dirname.32
-rw-r--r--lib/libc/gen/getpagesize.32
-rw-r--r--lib/libc/gen/readpassphrase.32
-rw-r--r--lib/libc/gen/sem_destroy.32
-rw-r--r--lib/libc/gen/tcsetattr.32
-rw-r--r--lib/libc/i386/sys/i386_set_watch.32
-rw-r--r--lib/libc/net/inet6_option_space.32
-rw-r--r--lib/libc/net/nsdispatch.34
-rw-r--r--lib/libc/posix1e/acl.32
-rw-r--r--lib/libc/posix1e/acl_get_qualifier.32
-rw-r--r--lib/libc/posix1e/acl_get_tag_type.32
-rw-r--r--lib/libc/posix1e/mac_set.32
-rw-r--r--lib/libc/rpc/rpc.32
-rw-r--r--lib/libc/sys/aio_read.22
-rw-r--r--lib/libc/sys/fhopen.26
-rw-r--r--lib/libc/sys/madvise.22
-rw-r--r--lib/libc/sys/nfssvc.22
-rw-r--r--lib/libc/sys/sigaction.24
-rw-r--r--lib/libc/sys/socket.22
-rw-r--r--lib/libc/sys/vfork.22
21 files changed, 25 insertions, 25 deletions
diff --git a/lib/libc/gen/devname.3 b/lib/libc/gen/devname.3
index f3c6988..83952dc 100644
--- a/lib/libc/gen/devname.3
+++ b/lib/libc/gen/devname.3
@@ -83,5 +83,5 @@ function appeared in
.Sh BUGS
The
.Fn devname
-function returns a poiner to an internal static object;
+function returns a pointer to an internal static object;
thus, subsequent calls will modify the same buffer.
diff --git a/lib/libc/gen/dirname.3 b/lib/libc/gen/dirname.3
index e774fda..d66eeaaf 100644
--- a/lib/libc/gen/dirname.3
+++ b/lib/libc/gen/dirname.3
@@ -32,7 +32,7 @@
.Os
.Sh NAME
.Nm dirname
-.Nd extract the directory portition of a pathname
+.Nd extract the directory part of a pathname
.Sh SYNOPSIS
.In libgen.h
.Ft char *
diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3
index 5848e89..80f2f19 100644
--- a/lib/libc/gen/getpagesize.3
+++ b/lib/libc/gen/getpagesize.3
@@ -60,6 +60,6 @@ hardware page size.
.Xr sbrk 2
.Sh HISTORY
The
-.Fn getpagesze
+.Fn getpagesize
function appeared in
.Bx 4.2 .
diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3
index 699c1a7..48859a9 100644
--- a/lib/libc/gen/readpassphrase.3
+++ b/lib/libc/gen/readpassphrase.3
@@ -168,7 +168,7 @@ The
and
.Dv SIGTTOU
signals (stop signal generated from keyboard or due to terminal I/O
-from a background proccess) are treated specially.
+from a background process) are treated specially.
When the process is resumed after it has been stopped,
.Fn readpassphrase
will reprint the prompt and the user may then enter a passphrase.
diff --git a/lib/libc/gen/sem_destroy.3 b/lib/libc/gen/sem_destroy.3
index 8094a53..12524f9 100644
--- a/lib/libc/gen/sem_destroy.3
+++ b/lib/libc/gen/sem_destroy.3
@@ -46,7 +46,7 @@ function destroys the unnamed semaphore pointed to by
After a successful call to
.Fn sem_destroy ,
.Fa sem
-is unuseable until re-initialized by another call to
+is unusable until re-initialized by another call to
.Fn sem_init .
.Sh RETURN VALUES
.Rv -std sem_destroy
diff --git a/lib/libc/gen/tcsetattr.3 b/lib/libc/gen/tcsetattr.3
index f52742b..a369a91 100644
--- a/lib/libc/gen/tcsetattr.3
+++ b/lib/libc/gen/tcsetattr.3
@@ -96,7 +96,7 @@ function.
The input and output baud rates are found in the termios structure.
The unsigned integer
.Li speed_t
-is typdef'd in the include file
+is typedef'd in the include file
.Aq Pa termios.h .
The value of the integer corresponds directly to the baud rate being
represented, however, the following symbolic values are defined.
diff --git a/lib/libc/i386/sys/i386_set_watch.3 b/lib/libc/i386/sys/i386_set_watch.3
index b388c46..dfe60d8 100644
--- a/lib/libc/i386/sys/i386_set_watch.3
+++ b/lib/libc/i386/sys/i386_set_watch.3
@@ -68,7 +68,7 @@ specifies the watch address,
specifies the size in bytes of the area to be watched (1, 2, or 4 bytes),
and
.Fa access
-specifes the type of watch point:
+specifies the type of watch point:
.Pp
.Bd -literal -offset indent -compact
DBREG_DR7_EXEC An execution breakpoint.
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index aae9791..0f1fd41 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -66,7 +66,7 @@
.Sh DESCRIPTION
.\"
Building and parsing the Hop-by-Hop and Destination options is
-complicated due to alignment constranints, padding and
+complicated due to alignment constraints, padding and
ancillary data manipulation.
RFC2292 defines a set of functions to help the application.
The function prototypes for
diff --git a/lib/libc/net/nsdispatch.3 b/lib/libc/net/nsdispatch.3
index 0ce7251..7839ab0 100644
--- a/lib/libc/net/nsdispatch.3
+++ b/lib/libc/net/nsdispatch.3
@@ -89,7 +89,7 @@ set to the name of the source,
.Va cb
defined as a function which handles that source, and
.Va cb_data
-is used to pass arbritrary data to the callback function.
+is used to pass arbitrary data to the callback function.
The last entry in
.Va dtab
should contain
@@ -161,7 +161,7 @@ list of the type
.Va va_list .
.Ss Valid source types
Whilst there is support for arbitrary sources, the following
-#defines for commonly implementated sources are available:
+#defines for commonly implemented sources are available:
.Bl -column NS_COMPAT COMPAT -offset indent
.It Sy "#define value"
.It "NSSRC_FILES ""files"""
diff --git a/lib/libc/posix1e/acl.3 b/lib/libc/posix1e/acl.3
index fa5caeb..88e5d0b 100644
--- a/lib/libc/posix1e/acl.3
+++ b/lib/libc/posix1e/acl.3
@@ -41,7 +41,7 @@
permits file systems to export Access Control Lists via the VFS, and
provides a library for userland access to and manipulation of these ACLs.
Not all file systems provide support for ACLs, and some may require that
-ACL support be explicitely enabled by the administrator.
+ACL support be explicitly enabled by the administrator.
The library calls include routines to allocate, duplicate, retrieve, set,
and validate ACLs associated with file objects.
As well as the POSIX.1e routines, there are a number of non-portable
diff --git a/lib/libc/posix1e/acl_get_qualifier.3 b/lib/libc/posix1e/acl_get_qualifier.3
index a670ddb..cdfe882 100644
--- a/lib/libc/posix1e/acl_get_qualifier.3
+++ b/lib/libc/posix1e/acl_get_qualifier.3
@@ -66,7 +66,7 @@ then the value returned by
will be a pointer to type
.Vt gid_t .
.Pp
-If the value of the tag type in the ACL enty referred to by
+If the value of the tag type in the ACL entry referred to by
.Fa entry_d
is
.Dv ACL_UNDEFINED_TAG , ACL_USER_OBJ , ACL_GROUP_OBJ ,
diff --git a/lib/libc/posix1e/acl_get_tag_type.3 b/lib/libc/posix1e/acl_get_tag_type.3
index e84ad49..ff22511 100644
--- a/lib/libc/posix1e/acl_get_tag_type.3
+++ b/lib/libc/posix1e/acl_get_tag_type.3
@@ -42,7 +42,7 @@
The
.Fn acl_get_tag_type
function
-is a POSIX.1e call that returs the tag type for the ACL entry
+is a POSIX.1e call that returns the tag type for the ACL entry
.Fa entry_d .
Upon successful completion, the location referred to by the argument
.Fa tag_type_p
diff --git a/lib/libc/posix1e/mac_set.3 b/lib/libc/posix1e/mac_set.3
index 9209775..d087412 100644
--- a/lib/libc/posix1e/mac_set.3
+++ b/lib/libc/posix1e/mac_set.3
@@ -101,7 +101,7 @@ Setting MAC labels is not supported
by the file referenced by
.Fa fd .
.It Bq Er EPERM
-The calling process had insufficient privelege
+The calling process had insufficient privilege
to change the MAC label.
.It Bq Er EROFS
File system for the object being modified
diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3
index b8688ad..c6490d1 100644
--- a/lib/libc/rpc/rpc.3
+++ b/lib/libc/rpc/rpc.3
@@ -298,7 +298,7 @@ struct netbuf {
};
/*
- * The format of the addres and options arguments of the XTI t_bind call.
+ * The format of the address and options arguments of the XTI t_bind call.
* Only provided for compatibility, it should not be used other than
* as an argument to svc_tli_create().
*/
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2
index c52629e..749044a 100644
--- a/lib/libc/sys/aio_read.2
+++ b/lib/libc/sys/aio_read.2
@@ -132,7 +132,7 @@ appropriately; otherwise the
.Fn aio_return
system call must be called, and will return -1, and
.Fn aio_error
-must be called to determine the actual calue that would have been
+must be called to determine the actual value that would have been
returned in
.Va errno .
.Pp
diff --git a/lib/libc/sys/fhopen.2 b/lib/libc/sys/fhopen.2
index 2bbb42b..7f078df 100644
--- a/lib/libc/sys/fhopen.2
+++ b/lib/libc/sys/fhopen.2
@@ -4,7 +4,7 @@
.\" All rights reserved.
.\"
.\" This software was written by William Studenmund of the
-.\" Numerical Aerospace Similation Facility, NASA Ames Research Center.
+.\" Numerical Aerospace Simulation Facility, NASA Ames Research Center.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -87,7 +87,7 @@ provide the functionality of the
.Xr fstat 2
and
.Xr fstatfs 2
-calls except that they return information for the file refered to by
+calls except that they return information for the file referred to by
.Fa fhp
rather than an open file.
.Sh RETURN VALUES
@@ -105,7 +105,7 @@ In addition to the errors returned by
.Xr fstat 2 ,
and
.Xr fstatfs 2
-respectivly,
+respectively,
.Fn fhopen ,
.Fn fhstat ,
and
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2
index 8b6ed9d..6e6397d 100644
--- a/lib/libc/sys/madvise.2
+++ b/lib/libc/sys/madvise.2
@@ -121,7 +121,7 @@ For more information see the MAP_NOSYNC section of
.It Dv MADV_AUTOSYNC
Undoes the effects of MADV_NOSYNC for any future pages dirtied within the
address range. The effect on pages already dirtied is indeterminate - they
-may or may not be reverted. You can guarentee reversion by using the
+may or may not be reverted. You can guarantee reversion by using the
.Xr msync 2
or
.Xr fsync 2
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2
index 25f2773..2b19547 100644
--- a/lib/libc/sys/nfssvc.2
+++ b/lib/libc/sys/nfssvc.2
@@ -150,7 +150,7 @@ struct nfsd_srvargs {
struct ucred nsd_cr; /* Cred. uid maps to */
int nsd_authlen; /* Length of auth string (ret) */
u_char *nsd_authstr; /* Auth string (ret) */
- int nsd_verflen; /* and the verfier */
+ int nsd_verflen; /* and the verifier */
u_char *nsd_verfstr;
struct timeval nsd_timestamp; /* timestamp from verifier */
u_int32_t nsd_ttl; /* credential ttl (sec) */
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index adf7bed..62b3298 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -484,7 +484,7 @@ the
.Dv sa_handler
member of
.Dv struct sigaction .
-In pratice,
+In practice,
.Fx
always sends the three arguments of the latter and since the ANSI C
prototype is a subset, both will work.
@@ -517,7 +517,7 @@ handler and the
.Dv si_code
member of the
.Dv info
-argument to a SA_SIGINFO handler contain a numeric code explaning the
+argument to a SA_SIGINFO handler contain a numeric code explaining the
cause of the signal, usually one of the
.Dv SI_...
values from
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2
index c8d9368..a1c8122 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -85,7 +85,7 @@ PF_XTP eXpress Transfer Protocol,
PF_COIP Connection-Oriented IP, aka ST II,
PF_CNT Computer Network Technology,
PF_SIP Simple Internet Protocol,
-PF_IPX Novell Intenet Packet eXchange protocol,
+PF_IPX Novell Internet Packet eXchange protocol,
PF_RTIP Help Identify RTIP packets,
PF_PIP Help Identify PIP packets,
PF_ISDN Integrated Services Digital Network,
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index 433f42d..16a7bb9 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -78,7 +78,7 @@ The
system call
can normally be used just like
.Xr fork 2 .
-It does not work, however, to return while running in the childs context
+It does not work, however, to return while running in the child's context
from the procedure that called
.Fn vfork
since the eventual return from
OpenPOWER on IntegriCloud