summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-02-06 11:10:32 +0000
committercharnier <charnier@FreeBSD.org>2003-02-06 11:10:32 +0000
commitdcd974373cb82e10f6b4dec36d4520b3ad7038c4 (patch)
tree803eb8cd7fd92874230e5981d27980c26678edc8 /lib/libc_r
parent28054ea687b98f1629bdd2f6628affabc78a937d (diff)
downloadFreeBSD-src-dcd974373cb82e10f6b4dec36d4520b3ad7038c4.zip
FreeBSD-src-dcd974373cb82e10f6b4dec36d4520b3ad7038c4.tar.gz
The .Fn function
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/man/pthread_attr.330
-rw-r--r--lib/libc_r/man/pthread_cancel.36
-rw-r--r--lib/libc_r/man/pthread_cleanup_pop.36
-rw-r--r--lib/libc_r/man/pthread_cleanup_push.36
-rw-r--r--lib/libc_r/man/pthread_cond_broadcast.36
-rw-r--r--lib/libc_r/man/pthread_cond_destroy.36
-rw-r--r--lib/libc_r/man/pthread_cond_init.36
-rw-r--r--lib/libc_r/man/pthread_cond_signal.36
-rw-r--r--lib/libc_r/man/pthread_cond_timedwait.36
-rw-r--r--lib/libc_r/man/pthread_cond_wait.36
-rw-r--r--lib/libc_r/man/pthread_rwlockattr_init.33
11 files changed, 58 insertions, 29 deletions
diff --git a/lib/libc_r/man/pthread_attr.3 b/lib/libc_r/man/pthread_attr.3
index ff692e2..6e72bcc 100644
--- a/lib/libc_r/man/pthread_attr.3
+++ b/lib/libc_r/man/pthread_attr.3
@@ -119,23 +119,26 @@ to the location pointed to by the second function parameter.
If successful, these functions return 0.
Otherwise, an error number is returned to indicate the error.
.Sh ERRORS
+The
.Fn pthread_attr_init
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er ENOMEM
Out of memory.
.El
.Pp
+The
.Fn pthread_attr_destroy
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
.Fa attr .
.El
.Pp
+The
.Fn pthread_attr_setstacksize
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa stacksize
@@ -143,24 +146,27 @@ is less than
.Dv PTHREAD_STACK_MIN .
.El
.Pp
+The
.Fn pthread_attr_setdetachstate
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
.Fa detachstate .
.El
.Pp
+The
.Fn pthread_attr_setinheritsched
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
.Fa attr .
.El
.Pp
+The
.Fn pthread_attr_setschedparam
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
@@ -170,8 +176,9 @@ Invalid value for
.Fa param .
.El
.Pp
+The
.Fn pthread_attr_setschedpolicy
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
@@ -181,8 +188,9 @@ Invalid or unsupported value for
.Fa policy .
.El
.Pp
+The
.Fn pthread_attr_setscope
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
@@ -194,6 +202,7 @@ Invalid or unsupported value for
.Sh SEE ALSO
.Xr pthread_create 3
.Sh STANDARDS
+The
.Fn pthread_attr_init ,
.Fn pthread_attr_destroy ,
.Fn pthread_attr_setstacksize ,
@@ -203,9 +212,10 @@ Invalid or unsupported value for
.Fn pthread_attr_setdetachstate ,
and
.Fn pthread_attr_getdetachstate
-conform to
+functions conform to
.St -p1003.1-96
.Pp
+The
.Fn pthread_attr_setinheritsched ,
.Fn pthread_attr_getinheritsched ,
.Fn pthread_attr_setschedparam ,
@@ -215,5 +225,5 @@ conform to
.Fn pthread_attr_setscope ,
and
.Fn pthread_attr_getscope
-conform to
+functions conform to
.St -susv2
diff --git a/lib/libc_r/man/pthread_cancel.3 b/lib/libc_r/man/pthread_cancel.3
index 1b998e6..166dadc 100644
--- a/lib/libc_r/man/pthread_cancel.3
+++ b/lib/libc_r/man/pthread_cancel.3
@@ -51,8 +51,9 @@ functions will return zero.
Otherwise an error number will be returned to
indicate the error.
.Sh ERRORS
+The
.Fn pthread_cancel
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er ESRCH
No thread could be found corresponding to that specified by the given
@@ -67,8 +68,9 @@ thread ID.
.Xr pthread_setcanceltype 3 ,
.Xr pthread_testcancel 3
.Sh STANDARDS
+The
.Fn pthread_cancel
-conforms to
+function conforms to
.St -p1003.1-96 .
.Sh AUTHORS
This man page was written by
diff --git a/lib/libc_r/man/pthread_cleanup_pop.3 b/lib/libc_r/man/pthread_cleanup_pop.3
index 5321303..a0cb1b6 100644
--- a/lib/libc_r/man/pthread_cleanup_pop.3
+++ b/lib/libc_r/man/pthread_cleanup_pop.3
@@ -51,14 +51,16 @@ then
.Fn pthread_cleanup_pop
does nothing.
.Sh RETURN VALUES
+The
.Fn pthread_cleanup_pop
-does not return any value.
+function does not return any value.
.Sh ERRORS
None
.Sh SEE ALSO
.Xr pthread_cleanup_push 3 ,
.Xr pthread_exit 3
.Sh STANDARDS
+The
.Fn pthread_cleanup_pop
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cleanup_push.3 b/lib/libc_r/man/pthread_cleanup_push.3
index b7d797e..7d7f986 100644
--- a/lib/libc_r/man/pthread_cleanup_push.3
+++ b/lib/libc_r/man/pthread_cleanup_push.3
@@ -53,14 +53,16 @@ is called, it is passed
.Fa arg
as its only argument.
.Sh RETURN VALUES
+The
.Fn pthread_cleanup_push
-does not return any value.
+function does not return any value.
.Sh ERRORS
None
.Sh SEE ALSO
.Xr pthread_cleanup_pop 3 ,
.Xr pthread_exit 3
.Sh STANDARDS
+The
.Fn pthread_cleanup_push
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cond_broadcast.3 b/lib/libc_r/man/pthread_cond_broadcast.3
index b3947bd..1c734f3 100644
--- a/lib/libc_r/man/pthread_cond_broadcast.3
+++ b/lib/libc_r/man/pthread_cond_broadcast.3
@@ -50,8 +50,9 @@ If successful, the
function will return zero, otherwise an error number will be returned
to indicate the error.
.Sh ERRORS
+The
.Fn pthread_cond_broadcast
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
@@ -65,6 +66,7 @@ is invalid.
.Xr pthread_cond_timedwait 3 ,
.Xr pthread_cond_wait 3
.Sh STANDARDS
+The
.Fn pthread_cond_broadcast
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cond_destroy.3 b/lib/libc_r/man/pthread_cond_destroy.3
index ab1ea0f..3b6b452 100644
--- a/lib/libc_r/man/pthread_cond_destroy.3
+++ b/lib/libc_r/man/pthread_cond_destroy.3
@@ -50,8 +50,9 @@ If successful, the
function will return zero, otherwise an error number will be returned
to indicate the error.
.Sh ERRORS
+The
.Fn pthread_cond_destroy
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
@@ -69,6 +70,7 @@ is locked by another thread.
.Xr pthread_cond_timedwait 3 ,
.Xr pthread_cond_wait 3
.Sh STANDARDS
+The
.Fn pthread_cond_destroy
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cond_init.3 b/lib/libc_r/man/pthread_cond_init.3
index 542110b..255c039 100644
--- a/lib/libc_r/man/pthread_cond_init.3
+++ b/lib/libc_r/man/pthread_cond_init.3
@@ -54,8 +54,9 @@ function will return zero and put the new condition variable id into
.Fa cond ,
otherwise an error number will be returned to indicate the error.
.Sh ERRORS
+The
.Fn pthread_cond_init
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
@@ -75,6 +76,7 @@ variable.
.Xr pthread_cond_timedwait 3 ,
.Xr pthread_cond_wait 3
.Sh STANDARDS
+The
.Fn pthread_cond_init
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cond_signal.3 b/lib/libc_r/man/pthread_cond_signal.3
index 4bb85c9..7c389ec 100644
--- a/lib/libc_r/man/pthread_cond_signal.3
+++ b/lib/libc_r/man/pthread_cond_signal.3
@@ -50,8 +50,9 @@ If successful, the
function will return zero, otherwise an error number will be returned
to indicate the error.
.Sh ERRORS
+The
.Fn pthread_cond_signal
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
@@ -65,6 +66,7 @@ is invalid.
.Xr pthread_cond_timedwait 3 ,
.Xr pthread_cond_wait 3
.Sh STANDARDS
+The
.Fn pthread_cond_signal
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cond_timedwait.3 b/lib/libc_r/man/pthread_cond_timedwait.3
index afd16b5..dd44795 100644
--- a/lib/libc_r/man/pthread_cond_timedwait.3
+++ b/lib/libc_r/man/pthread_cond_timedwait.3
@@ -63,8 +63,9 @@ function will return zero.
Otherwise an error number will be returned to
indicate the error.
.Sh ERRORS
+The
.Fn pthread_cond_timedwait
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
@@ -84,6 +85,7 @@ The system time has reached or exceeded the time specified in
.Xr pthread_cond_signal 3 ,
.Xr pthread_cond_wait 3
.Sh STANDARDS
+The
.Fn pthread_cond_timedwait
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_cond_wait.3 b/lib/libc_r/man/pthread_cond_wait.3
index e464a1e..02e2f81 100644
--- a/lib/libc_r/man/pthread_cond_wait.3
+++ b/lib/libc_r/man/pthread_cond_wait.3
@@ -61,8 +61,9 @@ function will return zero.
Otherwise an error number will be returned to
indicate the error.
.Sh ERRORS
+The
.Fn pthread_cond_wait
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
@@ -78,6 +79,7 @@ is invalid.
.Xr pthread_cond_signal 3 ,
.Xr pthread_cond_timedwait 3
.Sh STANDARDS
+The
.Fn pthread_cond_wait
-conforms to
+function conforms to
.St -p1003.1-96 .
diff --git a/lib/libc_r/man/pthread_rwlockattr_init.3 b/lib/libc_r/man/pthread_rwlockattr_init.3
index a4aef31..4ae4ecf 100644
--- a/lib/libc_r/man/pthread_rwlockattr_init.3
+++ b/lib/libc_r/man/pthread_rwlockattr_init.3
@@ -56,8 +56,9 @@ The
function is expected to conform to
.St -susv2 .
.Sh ERRORS
+The
.Fn pthread_rwlockattr_init
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er ENOMEM
Insufficient memory exists to initialize the attribute object.
OpenPOWER on IntegriCloud