freebsd-skq/share/man/man3
vangyzen abbf63d36b thr_set_name(): silently truncate the given name as needed
Instead of failing with ENAMETOOLONG, which is swallowed by
pthread_set_name_np() anyway, truncate the given name to MAXCOMLEN+1
bytes.  This is more likely what the user wants, and saves the
caller from truncating it before the call (which was the only
recourse).

Polish pthread_set_name_np(3) and add a .Xr to thr_set_name(2)
so the user might find the documentation for this behavior.

Reviewed by:	jilles
MFC after:	3 days
Sponsored by:	Dell EMC
2016-12-03 01:14:21 +00:00
..
assert.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
ATOMIC_VAR_INIT.3 Escape Ed to prevent mandoc to avoid confusion with the mdoc's Ed macros 2014-12-26 21:11:33 +00:00
bitstring.3 Add bit_count to the bitstring(3) api 2016-05-23 20:29:18 +00:00
end.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
fpgetround.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
intro.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
makedev.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
Makefile queue(3): Enhance queue debugging macros 2016-09-08 21:20:01 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
offsetof.3 Silence mandoc lint. 2014-07-29 19:41:00 +00:00
pthread_affinity_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_atfork.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_attr_affinity_np.3 Improve errno documentation in pthread_create(3) and thr_new(2) 2016-06-03 14:30:32 +00:00
pthread_attr_get_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_attr_setcreatesuspend_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_attr.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_barrier_destroy.3 Remove non-history libkse references and fix PTHREAD_PROCESSES_PRIVATE typo. 2016-05-29 18:25:11 +00:00
pthread_barrierattr.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_cancel.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_cleanup_pop.3 Correct a typo: this is the manpage for pthread_cleanup_pop, not push. 2014-10-27 15:45:37 +00:00
pthread_cleanup_push.3 Clarify that pthread_cleanup_push()/pop() are implemented as macros that 2014-10-25 19:31:34 +00:00
pthread_cond_broadcast.3
pthread_cond_destroy.3
pthread_cond_init.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_cond_signal.3
pthread_cond_timedwait.3
pthread_cond_wait.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_condattr.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_create.3 Improve errno documentation in pthread_create(3) and thr_new(2) 2016-06-03 14:30:32 +00:00
pthread_detach.3
pthread_equal.3
pthread_exit.3 Xref pthread_cancel... 2014-03-16 01:17:09 +00:00
pthread_getconcurrency.3
pthread_getcpuclockid.3 Grammar fixes. 2016-08-04 11:38:53 +00:00
pthread_getspecific.3 Added description of POSIX-specified behavior when invoked on a key from within that key's destructor. 2015-05-19 02:24:55 +00:00
pthread_getthreadid_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_join.3
pthread_key_create.3
pthread_key_delete.3
pthread_kill.3
pthread_main_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_multi_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_mutex_consistent.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_destroy.3
pthread_mutex_init.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_mutex_lock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_timedlock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_trylock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_unlock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutexattr_getkind_np.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_mutexattr.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_once.3
pthread_resume_all_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_resume_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_rwlock_destroy.3
pthread_rwlock_init.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_rwlock_rdlock.3
pthread_rwlock_timedrdlock.3
pthread_rwlock_timedwrlock.3
pthread_rwlock_unlock.3
pthread_rwlock_wrlock.3
pthread_rwlockattr_destroy.3
pthread_rwlockattr_getpshared.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_rwlockattr_init.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_rwlockattr_setpshared.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_schedparam.3
pthread_self.3
pthread_set_name_np.3 thr_set_name(): silently truncate the given name as needed 2016-12-03 01:14:21 +00:00
pthread_setspecific.3 Provide an unambiguous description of the potential hazard in calling 2015-05-28 16:18:41 +00:00
pthread_sigmask.3
pthread_spin_init.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_spin_lock.3
pthread_suspend_all_np.3 Warn about consequences of suspending threads in arbitrary state of 2016-05-05 10:22:19 +00:00
pthread_suspend_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_switch_add_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_testcancel.3 The fdatasync(2) call must be cancellation point. 2016-08-16 08:27:03 +00:00
pthread_yield.3
pthread.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
queue.3 queue(3): Enhance queue debugging macros 2016-09-08 21:20:01 +00:00
sigevent.3 Add documentation for the sigevent structure. 2016-07-15 15:12:56 +00:00
siginfo.3 Fix rendering issues. 2016-07-14 23:35:55 +00:00
stdarg.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
sysexits.3
tgmath.3 Fix a typographical error. 2015-01-06 23:04:41 +00:00
timeradd.3
tree.3 Last few instances of "sentence not on new line". 2016-06-08 09:36:07 +00:00