Commit Graph

220 Commits

Author SHA1 Message Date
hmp
9149713184 Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-30 13:18:15 +00:00
ru
1c089d8fdd (Mostly) markup fixes.
Approved by:	re (blanket)
2005-06-16 18:46:17 +00:00
keramida
f937a5450c The correct copyright notice for manpages that copy material from Open
Group's documentation is `/usr/share/examples/mdoc/POSIX-copyright',
not the one I copied from `/usr/share/examples/etc/bsd-copyright'.

Suggested by:			simon
2nd pointy hat of the day:	yours truly
2005-05-18 17:08:15 +00:00
keramida
9d94798f19 Add a manpage for pthread_atfork(3). This copies a lot of the text of
the Open Group manpage for pthread_atfork(), available online at:

http://www.opengroup.org/onlinepubs/009695399/functions/pthread_atfork.html

which should be ok, since Daniel Eischen had mailed me about Open
Group manpages and the fact that they have granted permission to
FreeBSD to use their material.  Any differences from the OG text are
my changes to the original manpage text submitted by Alex Vasylenko:

- In an effort to clean up the part that describes hooks and their
  calling order, I used a list instead of a single paragraph for all the three
  types of fork() hooks.
- After a short discussion with Dima Dorfman a long long time ago in a
  far away galaxy, I changed the RETURN VALUES section to look more
  like the rest of the pthread_xxx.3 manpages.

PR:		docs/68201
Submitted by:	Alex Vasylenko <lxv@omut.org>
2005-05-18 16:23:11 +00:00
das
a84bfd6e04 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
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
trhodes
1d264321fa Document EBUSY.
PR:		73387
Submitted by:	Thomas Ludwig <tludwig@smr.ch> (original version)
2005-02-08 20:16:59 +00:00
ru
3666aefb6a Fixed xref. 2005-01-21 10:48:35 +00:00
ru
7a3e657c56 Sort sections. 2005-01-21 08:36:40 +00:00
ru
1d0efb6bd2 Improved markup. 2005-01-13 11:22:29 +00:00
trhodes
eef75dc3e4 Some grammar, spelling, and mdoc(7) fixes. No content changes.
PR:		75581
Submitted by:	Nobuyuki Koganemaru n-kogane@syd.odn.ne.jp (original version)
2004-12-29 00:11:34 +00:00
ru
ba3655c74f NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR
2004-12-21 09:00:26 +00:00
jkoshy
1e91c0db48 Mutually cross-reference sysexits(3) and err(3). Add text to err(3)
recommending that the standard exit codes in sysexits(3) be used.

Reviewed by:    ru
2004-10-04 14:04:37 +00:00
ru
869702f330 Sort MAN and MLINKS in dictionary order ignoring case. 2004-09-19 06:11:45 +00:00
stefanf
a8a8b4c153 Add a man page for tgmath.h.
Reviewed by:	keramida
2004-08-13 22:43:12 +00:00
ru
9f45c1d92e mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
ru
5b527f1c98 Added missing punctuation. 2004-07-07 17:36:31 +00:00
ru
1cf1598667 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
ru
4b39413aeb Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
mpp
fb259505ce Spelling fixes. 2004-06-21 14:54:43 +00:00
ru
309b690374 Fixed markup bugs. 2004-06-17 17:51:17 +00:00
ru
c5e3be2b7c Fixed markup bugs.
Spell function correctly when talking about restarting after a signal.
2004-06-17 17:49:30 +00:00
das
96336d4a47 Cross-reference fenv(3). 2004-06-06 10:07:13 +00:00
pjd
87b856667a Add missing links. 2004-06-04 10:14:55 +00:00
das
f44620a5c4 Support for dynamic adjustment of FPU precision is only available on
i386 and amd64, so fp[gs]prec(3) don't exist on other platforms.

PR:		52882
2004-05-05 09:53:29 +00:00
simon
9d70c1606d Add a LIBRARY section.
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
PR:		docs/65208
2004-04-08 23:04:54 +00:00
mtm
92fa088800 Implement PThreads barriers and barrier attributes. 2004-02-19 13:51:52 +00:00
mtm
7a517ec35f o Implement the pthread_spin_* functions in libthr.
o Man pages
2004-01-22 15:31:56 +00:00
ru
ad42658a8b Use a single style for share/man/ makefiles:
- Sort MAN and MLINKS in "dictionary" order ignoring case.

- For multi-value MAN and multi-pair MLINKS, put each value/pair
  on its own line, for easier sorting and so that further diffs
  are easier to see.
2004-01-20 10:27:23 +00:00
mtm
e3c786562f Add an implementation of pthread_rwlock_timed{rd,wr}lock() to libthr with
attendant documentation.
2004-01-16 10:52:10 +00:00
ru
5b3c50c69d Removed outdated text about libc_r replacing libc (it now provides
just libc functions wrappers), and updated text to match reality:
there are three threading libraries in FreeBSD these days.

Removed instructions of how not to build libc_r, it's documented in
the make.conf(5) manpage already.

Removed description of the FreeBSD-specific gcc(1) option, -pthread.
While it's still provided (for backwards compatibility reasons),
its usefulness is questionable.
2004-01-15 17:58:26 +00:00
ru
a33865242f Removed the IMPLEMENTATION NOTES section made redundant by not
putting libc_r into the LIBRARY section.
2004-01-15 16:13:49 +00:00
ru
74b508f8fe pthread_multi_np() is implemented in all threading libraries.
pthread_single_np() is not implemented in libthr.
2004-01-15 16:12:11 +00:00
ru
e28980cea7 Revert previous delta -- these interfaces aren't supported by libthr. 2004-01-15 16:07:52 +00:00
ru
301639dade Document interfaces that are supported by libthr. 2004-01-15 15:59:00 +00:00
ru
62909c52c9 Assorted markup fixes. 2004-01-15 11:15:27 +00:00
ru
82162ee86d Spell POSIX threads library as "libpthread", mdoc(7) is smart
enough to render it as "-lkse" these days.
2004-01-14 21:53:19 +00:00
ru
57b6bbbf56 Have a single set of POSIX threads man pages. The LIBRARY section
of each manpage lists libraries that have corresponding interfaces
implemented.

Prodded by:	threads
Reviewed by:	deischen
2004-01-14 21:44:26 +00:00
ru
e2d68ddc6e This interface is not provided by libc_r. It is, on the other
hand, is also provided by libthr, but this will be addressed
later.
2004-01-14 21:12:39 +00:00
ru
c387e07b72 Pull revision 1.13 from libpthread/man/pthread_mutex_init.3:
- Remove error code that can't be returned (and original description
  was not proper English)

PR:		docs/57434
2003-12-30 15:44:16 +00:00
mtm
85d7d13d1c Aargh, cvs add pthread_mutex_timedlock 2003-12-30 08:50:04 +00:00
mtm
81dc42d3d9 o Implement pthread_mutex_timedlock(), which does not block indefinitely on
a mutex locked by another thread.
o document it: pthread_mutex_timedlock(3)
2003-12-30 08:44:55 +00:00
des
acf177087d RB_EMPTY() applies to red-black trees, not splay trees. 2003-11-10 10:35:06 +00:00
ru
cc9d2aeb39 Get rid of duplicates. 2003-09-14 13:41:59 +00:00
ru
1edcd1b018 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
ru
1c23ef339b mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
kan
d822b4a772 Add safe _FOREACH iterators to the rest of the queue.h types. 2003-08-14 14:49:26 +00:00
bmilekic
99491ba699 Document LIST_FOREACH_SAFE in queue(3).
Asked with "please" by Ruslan Ermilov.  I've always had a weakness
for "please".
2003-08-13 19:58:38 +00:00
ru
8bc4d4bba7 mdoc(7) fixes.
Approved by:	re (blanket)
2003-05-24 19:53:08 +00:00
jdp
6090151f12 Add stub implementations of pthread_[gs]etconcurrency to libc_r and
libthr.  No changes were made to libpthread by request of deischen,
who will soon commit a real implementation for that library.

PR:		standards/50848
Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru>
MFC after:	1 week
2003-04-20 01:53:13 +00:00