summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/dllockinit.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/dllockinit.3')
-rw-r--r--lib/libc/gen/dllockinit.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/dllockinit.3 b/lib/libc/gen/dllockinit.3
index f117728..6af2cf7 100644
--- a/lib/libc/gen/dllockinit.3
+++ b/lib/libc/gen/dllockinit.3
@@ -52,7 +52,7 @@ threads from entering its critical sections simultaneously.
.Pp
The
.Fa context
-parameter specifies an opaque context for creating locks. The
+argument specifies an opaque context for creating locks. The
dynamic linker will pass it to the
.Fa lock_create
function when creating the locks it needs. When the dynamic linker
@@ -65,26 +65,26 @@ to destroy the context.
.Pp
The
.Fa lock_create
-parameter specifies a function for creating a read/write lock. It
+argument specifies a function for creating a read/write lock. It
must return a pointer to the new lock.
.Pp
The
.Fa rlock_acquire
and
.Fa wlock_acquire
-parameters specify functions which lock a lock for reading or
+arguments specify functions which lock a lock for reading or
writing, respectively. The
.Fa lock_release
-parameter specifies a function which unlocks a lock. Each of these
+argument specifies a function which unlocks a lock. Each of these
functions is passed a pointer to the lock.
.Pp
The
.Fa lock_destroy
-parameter specifies a function to destroy a lock. It may be
+argument specifies a function to destroy a lock. It may be
.Dv NULL
if locks do not need to be destroyed. The
.Fa context_destroy
-parameter specifies a function to destroy the context. It may be
+argument specifies a function to destroy the context. It may be
.Dv NULL
if the context does not need to be destroyed.
.Pp
OpenPOWER on IntegriCloud