diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 2003-02-06 11:10:32 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 2003-02-06 11:10:32 +0000 |
| commit | 6f673fd1c07f7ba1355441f7952d0b68882fe4f8 (patch) | |
| tree | 803eb8cd7fd92874230e5981d27980c26678edc8 | |
| parent | 658930c2c08654bf56f7919921a061fd0c896d13 (diff) | |
Notes
22 files changed, 116 insertions, 58 deletions
diff --git a/lib/libc_r/man/pthread_attr.3 b/lib/libc_r/man/pthread_attr.3 index ff692e2ba77f..6e72bcca924e 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 1b998e6eee1d..166dadc0a5c8 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 532130320136..a0cb1b628932 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 b7d797edfe62..7d7f98682ad0 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 b3947bd8ac00..1c734f3663fe 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 ab1ea0f8d2c3..3b6b45218b3b 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 542110bbd6ad..255c039f077e 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 4bb85c942b39..7c389ec5423c 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 afd16b5f0d02..dd4479533890 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 e464a1e524a5..02e2f81ab377 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 a4aef31fc289..4ae4ecfda3e9 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. diff --git a/share/man/man3/pthread_attr.3 b/share/man/man3/pthread_attr.3 index ff692e2ba77f..6e72bcca924e 100644 --- a/share/man/man3/pthread_attr.3 +++ b/share/man/man3/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/share/man/man3/pthread_cancel.3 b/share/man/man3/pthread_cancel.3 index 1b998e6eee1d..166dadc0a5c8 100644 --- a/share/man/man3/pthread_cancel.3 +++ b/share/man/man3/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/share/man/man3/pthread_cleanup_pop.3 b/share/man/man3/pthread_cleanup_pop.3 index 532130320136..a0cb1b628932 100644 --- a/share/man/man3/pthread_cleanup_pop.3 +++ b/share/man/man3/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/share/man/man3/pthread_cleanup_push.3 b/share/man/man3/pthread_cleanup_push.3 index b7d797edfe62..7d7f98682ad0 100644 --- a/share/man/man3/pthread_cleanup_push.3 +++ b/share/man/man3/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/share/man/man3/pthread_cond_broadcast.3 b/share/man/man3/pthread_cond_broadcast.3 index b3947bd8ac00..1c734f3663fe 100644 --- a/share/man/man3/pthread_cond_broadcast.3 +++ b/share/man/man3/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/share/man/man3/pthread_cond_destroy.3 b/share/man/man3/pthread_cond_destroy.3 index ab1ea0f8d2c3..3b6b45218b3b 100644 --- a/share/man/man3/pthread_cond_destroy.3 +++ b/share/man/man3/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/share/man/man3/pthread_cond_init.3 b/share/man/man3/pthread_cond_init.3 index 542110bbd6ad..255c039f077e 100644 --- a/share/man/man3/pthread_cond_init.3 +++ b/share/man/man3/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/share/man/man3/pthread_cond_signal.3 b/share/man/man3/pthread_cond_signal.3 index 4bb85c942b39..7c389ec5423c 100644 --- a/share/man/man3/pthread_cond_signal.3 +++ b/share/man/man3/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/share/man/man3/pthread_cond_timedwait.3 b/share/man/man3/pthread_cond_timedwait.3 index afd16b5f0d02..dd4479533890 100644 --- a/share/man/man3/pthread_cond_timedwait.3 +++ b/share/man/man3/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/share/man/man3/pthread_cond_wait.3 b/share/man/man3/pthread_cond_wait.3 index e464a1e524a5..02e2f81ab377 100644 --- a/share/man/man3/pthread_cond_wait.3 +++ b/share/man/man3/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/share/man/man3/pthread_rwlockattr_init.3 b/share/man/man3/pthread_rwlockattr_init.3 index a4aef31fc289..4ae4ecfda3e9 100644 --- a/share/man/man3/pthread_rwlockattr_init.3 +++ b/share/man/man3/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. |
