aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-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
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/devname.3 b/lib/libc/gen/devname.3
index f3c698823ad2..83952dcbe3d8 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 e774fdad7407..d66eeaaf08f6 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 5848e8992d14..80f2f19cf783 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 699c1a74df90..48859a929664 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 8094a5323888..12524f90b410 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 f52742beed67..a369a916fac2 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.