6040822c4e
The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by #ifdef _KERNEL. In the meantime, we have grown at least 28 syscalls that use timespecs in some way, leading many programs both inside and outside of the base system to redefine those macros. It's better just to make the definitions public. Our kernel currently defines two-argument versions of timespecadd and timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define three-argument versions. Solaris also defines a three-argument version, but only in its kernel. This revision changes our definition to match the common three-argument version. Bump _FreeBSD_version due to the breaking KPI change. Discussed with: cem, jilles, ian, bde Differential Revision: https://reviews.freebsd.org/D14725 |
||
---|---|---|
.. | ||
assert.3 | ||
ATOMIC_VAR_INIT.3 | ||
bitstring.3 | ||
end.3 | ||
fpgetround.3 | ||
intro.3 | ||
makedev.3 | ||
Makefile | ||
Makefile.depend | ||
offsetof.3 | ||
pthread_affinity_np.3 | ||
pthread_atfork.3 | ||
pthread_attr_affinity_np.3 | ||
pthread_attr_get_np.3 | ||
pthread_attr_setcreatesuspend_np.3 | ||
pthread_attr.3 | ||
pthread_barrier_destroy.3 | ||
pthread_barrierattr.3 | ||
pthread_cancel.3 | ||
pthread_cleanup_pop.3 | ||
pthread_cleanup_push.3 | ||
pthread_cond_broadcast.3 | ||
pthread_cond_destroy.3 | ||
pthread_cond_init.3 | ||
pthread_cond_signal.3 | ||
pthread_cond_timedwait.3 | ||
pthread_cond_wait.3 | ||
pthread_condattr.3 | ||
pthread_create.3 | ||
pthread_detach.3 | ||
pthread_equal.3 | ||
pthread_exit.3 | ||
pthread_getconcurrency.3 | ||
pthread_getcpuclockid.3 | ||
pthread_getspecific.3 | ||
pthread_getthreadid_np.3 | ||
pthread_join.3 | ||
pthread_key_create.3 | ||
pthread_key_delete.3 | ||
pthread_kill.3 | ||
pthread_main_np.3 | ||
pthread_multi_np.3 | ||
pthread_mutex_consistent.3 | ||
pthread_mutex_destroy.3 | ||
pthread_mutex_init.3 | ||
pthread_mutex_lock.3 | ||
pthread_mutex_timedlock.3 | ||
pthread_mutex_trylock.3 | ||
pthread_mutex_unlock.3 | ||
pthread_mutexattr_getkind_np.3 | ||
pthread_mutexattr.3 | ||
pthread_once.3 | ||
pthread_resume_all_np.3 | ||
pthread_resume_np.3 | ||
pthread_rwlock_destroy.3 | ||
pthread_rwlock_init.3 | ||
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 | ||
pthread_rwlockattr_init.3 | ||
pthread_rwlockattr_setpshared.3 | ||
pthread_schedparam.3 | ||
pthread_self.3 | ||
pthread_set_name_np.3 | ||
pthread_setspecific.3 | ||
pthread_sigmask.3 | ||
pthread_spin_init.3 | ||
pthread_spin_lock.3 | ||
pthread_suspend_all_np.3 | ||
pthread_suspend_np.3 | ||
pthread_switch_add_np.3 | ||
pthread_testcancel.3 | ||
pthread_yield.3 | ||
pthread.3 | ||
queue.3 | ||
sigevent.3 | ||
siginfo.3 | ||
stdarg.3 | ||
sysexits.3 | ||
tgmath.3 | ||
timeradd.3 | ||
tree.3 |