1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/share/man/man3
David Schultz 7b74e4a759 Remove fpsetsticky(). This was added for SysV compatibility, but due
to mistakes from day 1, it has always had semantics inconsistent with
SVR4 and its successors.  In particular, given argument M:

- On Solaris and FreeBSD/{alpha,sparc64}, it clobbers the old flags
  and *sets* the new flag word to M.  (NetBSD, too?)
- On FreeBSD/{amd64,i386}, it *clears* the flags that are specified in M
  and leaves the remaining flags unchanged (modulo a small bug on amd64.)
- On FreeBSD/ia64, it is not implemented.

There is no way to fix fpsetsticky() to DTRT for both old FreeBSD apps
and apps ported from other operating systems, so the best approach
seems to be to kill the function and fix any apps that break.  I
couldn't find any ports that use it, and any such ports would already
be broken on FreeBSD/ia64 and Linux anyway.

By the way, the routine has always been undocumented in FreeBSD,
except for an MLINK to a manpage that doesn't describe it.  This
manpage has stated since 5.3-RELEASE that the functions it describes
are deprecated, so that must mean that functions that it is *supposed*
to describe but doesn't are even *more* deprecated.  ;-)

Note that fpresetsticky() has been retained on FreeBSD/i386.  As far
as I can tell, no other operating systems or ports of FreeBSD
implement it, so there's nothing for it to be inconsistent with.

PR:		75862
Suggested by:	bde
2005-03-15 15:53:39 +00:00
..
assert.3
bitstring.3
end.3
fpgetround.3
intro.3
Makefile Remove fpsetsticky(). This was added for SysV compatibility, but due 2005-03-15 15:53:39 +00:00
pthread_attr_get_np.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_attr_setcreatesuspend_np.3
pthread_attr.3
pthread_barrier_destroy.3 Sort sections. 2005-01-21 08:36:40 +00:00
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_getspecific.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_destroy.3
pthread_mutex_init.3
pthread_mutex_lock.3 Document EBUSY. 2005-02-08 20:16:59 +00:00
pthread_mutex_timedlock.3
pthread_mutex_trylock.3
pthread_mutex_unlock.3
pthread_mutexattr_getkind_np.3 Fixed xref. 2005-01-21 10:48:35 +00:00
pthread_mutexattr.3
pthread_once.3 Some grammar, spelling, and mdoc(7) fixes. No content changes. 2004-12-29 00:11:34 +00:00
pthread_resume_all_np.3
pthread_resume_np.3
pthread_rwlock_destroy.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlock_init.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlock_rdlock.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlock_timedrdlock.3
pthread_rwlock_timedwrlock.3
pthread_rwlock_unlock.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlock_wrlock.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlockattr_destroy.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlockattr_getpshared.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlockattr_init.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_rwlockattr_setpshared.3 Sort sections. 2005-01-21 08:36:40 +00:00
pthread_schedparam.3
pthread_self.3
pthread_set_name_np.3
pthread_setspecific.3 Some grammar, spelling, and mdoc(7) fixes. No content changes. 2004-12-29 00:11:34 +00:00
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 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pthread.3 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
queue.3 Some grammar, spelling, and mdoc(7) fixes. No content changes. 2004-12-29 00:11:34 +00:00
stdarg.3 Sort sections. 2005-01-21 08:36:40 +00:00
sysexits.3 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tgmath.3 Improved markup. 2005-01-13 11:22:29 +00:00
timeradd.3
tree.3