summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2020-11-09 18:44:54 +0000
committerPeter Tribble <peter.tribble@gmail.com>2020-11-10 19:49:13 +0000
commit73849e1abc744e793539f9a6a32f1efd052bfe7a (patch)
tree8800d22b9004b9faf759957d0c8913101adafc73 /usr/src
parentd59f56478a070381dd4ff329ad617788788bf84f (diff)
downloadillumos-gate-73849e1abc744e793539f9a6a32f1efd052bfe7a.tar.gz
13293 multiple typos in tss.3c
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/man/man3c/tss.3c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/src/man/man3c/tss.3c b/usr/src/man/man3c/tss.3c
index 9f8fde3912..6ee8cc588c 100644
--- a/usr/src/man/man3c/tss.3c
+++ b/usr/src/man/man3c/tss.3c
@@ -11,13 +11,13 @@
.\"
.\" Copyright 2016 Joyent, Inc.
.\"
-.Dd "Jan 11, 2015"
+.Dd "November 8, 2020"
.Dt TSS 3C
.Os
.Sh NAME
.Nm tss ,
.Nm tss_create ,
-.Nm tss_destroy ,
+.Nm tss_delete ,
.Nm tss_get ,
.Nm tss_set
.Nd thread-specific storage
@@ -47,7 +47,7 @@ The
.Sy tss
family of functions create, get, set, and destroy thread-specific
storage.
-.Ss Creating and Destorying Thread-Specific Storage
+.Ss Creating and Destroying Thread-Specific Storage
The
.Fn tss_create
function creates a new thread-specific data key.
@@ -58,7 +58,7 @@ and
.Fn tss_set
functions.
A given key persists until
-.Fn tss_destroy
+.Fn tss_delete
is called.
.Pp
When a key is created, the value
@@ -81,17 +81,17 @@ When the destructor is run due to a thread exiting, all signals will be blocked.
.Pp
The
.Fn tss_delete
-function deletes the key identify by
+function deletes the key identified by
.Fa key
from the global name-space.
When a key is deleted, no registered destructor is called, it is up to the
calling program to free any storage that was associated with
.Fa key
across all threads.
-Because of this propety, it is legal to call
+Because of this property, it is legal to call
.Fn tss_delete
from inside a destructor.
-Any destructors that had been assocaited with
+Any destructors that had been associated with
.Fa key
will no longer be called when a thread terminates.
.Ss Obtaining Values
@@ -110,7 +110,7 @@ The
.Fn tss_set
function sets the value of the key
.Fa key
-for the callling thread to
+for the calling thread to
.Fa value ,
which may be obtained by subsequent calls to
.Fa tss_get .