Ulrich Spörlein
b6514098d6
mdoc: remove unused/empty macros
2010-08-02 13:11:27 +00:00
Simon L. B. Nielsen
b9ec8f3b6c
Cross reference tree(3) and queue(3).
...
MFC after: 1 week
2010-07-18 08:34:44 +00:00
John Baldwin
5695d99d40
- The ETIMEDOUT error applies to pthread_timedjoin_np(), not pthread_join().
...
- Tweak wording in history section for pthread_timedjoin_np().
MFC after: 3 days
2010-06-29 14:32:01 +00:00
Ulrich Spörlein
0b31f1f731
mdoc: move remaining sections into consistent order
...
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.
Found by: mdocml lint run
Reviewed by: ru
2010-05-13 12:08:11 +00:00
Jilles Tjoelker
febae919ac
Document clock and pshared condvar attributes.
...
Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken
as it simply waits for the difference of the current and given value of the
clock as if it were CLOCK_MONOTONIC. So document only CLOCK_REALTIME and
CLOCK_MONOTONIC as allowed.
MFC after: 1 week
2010-05-09 14:21:34 +00:00
Ulrich Spörlein
aa12cea2cc
mdoc: order prologue macros consistently by Dd/Dt/Os
...
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.
Reviewed by: ru
Approved by: philip, ed (mentors)
2010-04-14 19:08:06 +00:00
Xin LI
67b9e2551d
Correct cross reference.
...
MFC after: 2 weeks
2010-03-23 18:00:50 +00:00
Konstantin Belousov
ccbe0b21ef
Document pthread_timedjoin_np.
...
Note implementation-defined EOPNOTSUPP error [1].
PR: threads/143115 [1]
MFC after: 3 days
2010-01-23 13:08:47 +00:00
Ed Schouten
0806dd9238
Remove stale references to utmp(5) and its corresponding filenames.
...
I removed utmp and its manpage, but not other manpages referring to it.
2010-01-21 17:25:12 +00:00
Christian Brueffer
d49bbd73ff
Various fixes.
2010-01-12 18:07:12 +00:00
Xin LI
777f8cebf3
Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).
...
Reviewed by: davidxu
MFC after: 2 weeks
2010-01-09 12:31:11 +00:00
Christian Brueffer
ad035daf08
Fix typo.
...
PR: 140615
Submitted by: Andrius Morkunas <hinokind@gmail.com>
MFC after: 3 days
2009-11-17 07:06:41 +00:00
Benno Rice
9d44cd42c1
Fix typo (noded -> nodes).
2009-11-04 04:12:56 +00:00
Ed Schouten
3d98b75bac
Rename the queue macros I introduced last year.
...
Last year I added SLIST_REMOVE_NEXT and STAILQ_REMOVE_NEXT, to remove
entries behind an element in the list, using O(1) time. I recently
discovered NetBSD also has a similar macro, called SLIST_REMOVE_AFTER.
In my opinion this approach is a lot better:
- It doesn't have the unused first argument of the list pointer. I added
this, mainly because OpenBSD also had it.
- The _AFTER suffix makes a lot more sense, because it is related to
SLIST_INSERT_AFTER. _NEXT is only used to iterate through the list.
The reason why I want to rename this now, is to make sure we don't
release a major version with the badly named macros.
2009-05-27 19:28:04 +00:00
Tom Rhodes
7ba7e04135
On second thought, remove the comma too.
2009-04-01 08:08:25 +00:00
Tom Rhodes
9c0f9817ff
Remove KSE bits, cross reference libthr.3.
...
PR: 132392
Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (original version)
2009-04-01 07:13:21 +00:00
Ed Schouten
2c3fbde10d
Small typo in the makedev(3) manpage.
...
devtoname(3) is a nonexistent function. We do have devtoname(9), but
that's entirely different. The correct function is devname(3).
2008-09-28 20:26:16 +00:00
Ed Schouten
66c6ebfe6b
Several documentation fixups related to device minor/major numbers:
...
- Document the minor(3), major(3) and makedev(3) macro's. They also
apply to umajor() and uminor() in the kernel, but hopefully we'll sort
that out one day.
- Briefly dev2unit() inside the make_dev(9) manual page, since this is
now the preferred macro to obtain character device unit numbers inside
the kernel.
- Remove the device_ids(9) manual page. It contains highly inaccurate
information, such as a description of the nonexistent major().
2008-09-28 20:15:45 +00:00
Ed Schouten
e2fd72de44
Introduce REMOVE_NEXT() macro's for SLIST and STAILQ.
...
Even though single linked lists allow items to be removed at constant time
(when the previous element is known), the queue macro's don't allow this.
Implement new REMOVE_NEXT() macro's. Because the REMOVE() macro's also
contain the same code, make it call REMOVE_NEXT().
The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list
head, even though it is unused. We'd better mimic this. The STAILQ version
also needs a reference to the list. This means the prototypes of both
macro's are the same.
Approved by: philip (mentor)
PR: kern/121117
2008-05-22 14:40:03 +00:00
Ruslan Ermilov
dbdb679c6f
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
...
build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
Jason Evans
164bfe6abb
Install manpage links for RB_PREV and RB_FOREACH_REVERSE.
2008-03-07 22:29:53 +00:00
Jason Evans
8e4fd0a138
Implement RB_PREV() AND RB_FOREACH_REVERSE().
2007-12-28 07:03:26 +00:00
David Schultz
3eb5f519a5
Add sqrt() to the first table in the manpage. It seems it was accidentally
...
omitted.
2007-12-15 02:40:10 +00:00
David E. O'Brien
ed741d4e2d
Don't imply O(n) removal for the doubly linked data structures.
2007-11-02 00:34:44 +00:00
Ruslan Ermilov
3e9ed1efb8
Hide the implementation details about multiple threading libraries
...
from the synopses of pthread*(3) manpages.
Reviewed by: deischen, davidxu
2007-10-22 10:08:01 +00:00
Ruslan Ermilov
d8e438f0d5
Remove an obsolete paragraph that pthread_single_np(3) is
...
not implemented in libthr.
Reviewed by: deischen, davidxu
2007-10-22 10:04:42 +00:00
David E. O'Brien
946367b8e2
Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental
...
treatment of 'LIBKSE' as an "old style" knob.
Submitted by: ru
Approved by: re(kensmith)
2007-10-09 23:31:11 +00:00
David E. O'Brien
65c045e964
Repo copy libpthreads to libkse.
...
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)
2007-10-09 13:42:34 +00:00
Warner Losh
e4adaf642c
Document that EPERM is returned when the calling thread does not have
...
the mutex locked. Also tweak the wording to make it more consistant
between pthread_cond_wait and pthread_cond_tiedwait.
Confirmed with the opengroup's web site that this is a valid return
value. Wording used specifically not that of opengroup's online man
pages.
MFC After: 1 week
2007-03-30 04:10:04 +00:00
Olivier Houchard
c3f5198b21
Add a reference too pthread_cancel(3).
...
Submitted by: Jeremie Le-Hen
2007-01-19 17:34:52 +00:00
Tom Rhodes
6a8a30dcd3
Xref pthread_condattr.3, pthread_attr.3, and pthread_mutexattr.3.
...
PR: 60679
Submitted by: roam (with minor modifications)
2006-11-04 10:08:16 +00:00
Maxim Konovalov
b889a97163
o Expand "Nov" to "November" in Dd macro, remove eol whitespace.
2006-11-01 04:46:06 +00:00
David Xu
29f4831b30
Add error code EPERM.
...
Reviewed by: ru, deischen
2006-11-01 01:54:30 +00:00
Ruslan Ermilov
a676ad7a4f
Bring manpage up-to-date with respect to the scheduling priority
...
range, and mention the SCHED_OTHER scheduling policy.
Submitted by: davidxu
PR: docs/37843
MFC after: 3 days
2006-10-16 14:35:31 +00:00
Ruslan Ermilov
85213a8004
Revise markup.
2006-09-30 11:48:12 +00:00
Ruslan Ermilov
2e97500669
Removed libc_r build support.
2006-09-30 11:32:46 +00:00
Ruslan Ermilov
5bb9f2101b
Remove mentions of libc_r.
2006-09-30 11:22:26 +00:00
Maxim Konovalov
0029d6425f
o Add pthread_yield.3 man page.
...
PR: docs/100083
Reviewed by: deischen, ru
Obtained from: OpenBSD
MFC after: 2 weeks
2006-09-18 18:07:49 +00:00
Ruslan Ermilov
81ae4b8da9
Markup fixes.
2006-09-18 15:24:20 +00:00
Ed Maste
d5fd66e17d
The removal of CIRCLEQ left four queue macros. One sentence was missed
...
in the man page update.
PR: docs/94938
Submitted by: Ed Schouten <ed@fxq.nl>
MFC After: 3 days
2006-03-25 23:11:10 +00:00
Kirk McKusick
982ba1cb7e
Typesetting fix for -r1.137.
...
If a tail queue is empty the return value of TAILQ_LAST is not
undefined, it is NULL.
Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
2006-03-24 07:41:12 +00:00
Kirk McKusick
c4e29cccdd
If a tail queue is empty the return value is not
...
undefined, it is NULL.
2006-03-22 02:40:38 +00:00
Ruslan Ermilov
e1fe3dba5c
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Brad Davis
209462832d
- Massage wording to make it easier to understand and fix some grammar.
...
Submitted by: sbahra at gwu dot edu
Reviewed by: ru@
Approved by: ceri@
MFC after: 3 days
2006-02-16 09:56:31 +00:00
Tom Rhodes
a00d9cda62
Does not return EBUSY, the mutex will keep blocking until it's unlocked.
2006-01-31 01:47:16 +00:00
Jason Evans
d72cd77975
Add the RB_PROTOTYPE_STATIC and RB_GENERATE_STATIC macros.
...
Approved by: markm (mentor)
2006-01-19 07:20:20 +00:00
Maxim Konovalov
7b7f29d82a
o Sort MLINKS.
2006-01-11 21:28:55 +00:00
Jason Evans
06115e083a
Add the RB_NFIND() macro, which is useful for red-black tree searches
...
for which there may not be an exact match.
Reviewed by: glebius, julian
Approved by: markm (mentor)
2006-01-11 15:48:36 +00:00
David Xu
dbcf945af6
Style fixs, add missing word 'signal'.
...
Reviewed by: deischen
2005-12-14 01:59:11 +00:00
David Xu
22fc836263
Add siginfo.
2005-12-13 00:28:09 +00:00
Ruslan Ermilov
4294a24e1b
Fix prototype.
2005-11-24 15:10:38 +00:00
John Baldwin
e26af7a74a
Remove a spurious newline. The TAILQ_INIT() is part of the 'faster tailq
...
deletion' example.
MFC after: 1 week
2005-10-17 17:53:17 +00:00
Hiroki Sato
44cb3ab02e
Fix typos and use consistent section names in manual pages:
...
s/SYSCTLS/SYSCTL VARIABLES/
s/TUNABLES/LOADER TUNABLES/
s/CAVEAT/CAVEATS/
s/DESCIPTION/DESCRIPTION/
Reviewed by: ru
MFC after: 3 days
2005-07-15 17:35:26 +00:00
Hiten Pandya
a1601503f5
Use 'manual page' instead of 'man page' for consistency.
...
Approved by: re (hrs)
2005-06-30 13:18:15 +00:00
Ruslan Ermilov
a4be0b3cc1
(Mostly) markup fixes.
...
Approved by: re (blanket)
2005-06-16 18:46:17 +00:00
Giorgos Keramidas
8a119ad210
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
Giorgos Keramidas
a3c8fc5312
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
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
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Tom Rhodes
61e68f057a
Document EBUSY.
...
PR: 73387
Submitted by: Thomas Ludwig <tludwig@smr.ch> (original version)
2005-02-08 20:16:59 +00:00
Ruslan Ermilov
3ac17feb8a
Fixed xref.
2005-01-21 10:48:35 +00:00
Ruslan Ermilov
9cbda59000
Sort sections.
2005-01-21 08:36:40 +00:00
Ruslan Ermilov
e93572dedd
Improved markup.
2005-01-13 11:22:29 +00:00
Tom Rhodes
ddbb94ad96
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
Ruslan Ermilov
f1f6253f4f
NOLIBC_R -> NO_LIBC_R
...
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR
2004-12-21 09:00:26 +00:00
Joseph Koshy
6febaa3aff
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
Ruslan Ermilov
710df706de
Sort MAN and MLINKS in dictionary order ignoring case.
2004-09-19 06:11:45 +00:00
Stefan Farfeleder
fd51ce66aa
Add a man page for tgmath.h.
...
Reviewed by: keramida
2004-08-13 22:43:12 +00:00
Ruslan Ermilov
2410103c1d
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
Ruslan Ermilov
e825f57623
Added missing punctuation.
2004-07-07 17:36:31 +00:00
Ruslan Ermilov
5203edcdc5
Mechanically kill hard sentence breaks and double whitespaces.
2004-07-03 18:29:24 +00:00
Ruslan Ermilov
d37ea99837
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
Mike Pritchard
3b96c71f73
Spelling fixes.
2004-06-21 14:54:43 +00:00
Ruslan Ermilov
715a028455
Fixed markup bugs.
2004-06-17 17:51:17 +00:00
Ruslan Ermilov
ef13db44d1
Fixed markup bugs.
...
Spell function correctly when talking about restarting after a signal.
2004-06-17 17:49:30 +00:00
David Schultz
d5499b02cf
Cross-reference fenv(3).
2004-06-06 10:07:13 +00:00
Pawel Jakub Dawidek
f7b00e0696
Add missing links.
2004-06-04 10:14:55 +00:00
David Schultz
0cedc1338e
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 L. B. Nielsen
5b8ef52df0
Add a LIBRARY section.
...
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
PR: docs/65208
2004-04-08 23:04:54 +00:00
Mike Makonnen
d4d7df5c0c
Implement PThreads barriers and barrier attributes.
2004-02-19 13:51:52 +00:00
Mike Makonnen
dec04f43d9
o Implement the pthread_spin_* functions in libthr.
...
o Man pages
2004-01-22 15:31:56 +00:00
Ruslan Ermilov
b760de9691
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
Mike Makonnen
104ff764e5
Add an implementation of pthread_rwlock_timed{rd,wr}lock() to libthr with
...
attendant documentation.
2004-01-16 10:52:10 +00:00
Ruslan Ermilov
c133f2ab6f
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
Ruslan Ermilov
95e055a2cf
Removed the IMPLEMENTATION NOTES section made redundant by not
...
putting libc_r into the LIBRARY section.
2004-01-15 16:13:49 +00:00
Ruslan Ermilov
69a16e1e28
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
Ruslan Ermilov
bc5cc7732e
Revert previous delta -- these interfaces aren't supported by libthr.
2004-01-15 16:07:52 +00:00
Ruslan Ermilov
f9f9d2e804
Document interfaces that are supported by libthr.
2004-01-15 15:59:00 +00:00
Ruslan Ermilov
8e750fa2e6
Assorted markup fixes.
2004-01-15 11:15:27 +00:00
Ruslan Ermilov
5360187e7a
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
Ruslan Ermilov
ec7452f103
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
Ruslan Ermilov
fac93adb3d
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
Ruslan Ermilov
e09cec395d
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
Mike Makonnen
ec2456e2c2
Aargh, cvs add pthread_mutex_timedlock
2003-12-30 08:50:04 +00:00
Mike Makonnen
2aa9de1f77
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
Dag-Erling Smørgrav
309e4b9b6d
RB_EMPTY() applies to red-black trees, not splay trees.
2003-11-10 10:35:06 +00:00
Ruslan Ermilov
959d6c24f6
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
Ruslan Ermilov
743d5d518c
mdoc(7): Properly mark C headers.
2003-09-10 19:24:35 +00:00
Ruslan Ermilov
fe08efe680
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
Alexander Kabaev
2724bce2d2
Add safe _FOREACH iterators to the rest of the queue.h types.
2003-08-14 14:49:26 +00:00
Bosko Milekic
4250a68e2d
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
Ruslan Ermilov
734ac3b543
mdoc(7) fixes.
...
Approved by: re (blanket)
2003-05-24 19:53:08 +00:00
John Polstra
8c0d4b5f92
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
Philippe Charnier
9d09157a0f
The .Fn function. Use .Xr where appropriate.
2003-03-24 16:05:24 +00:00
Ruslan Ermilov
ace5be682d
mdoc(7) police: Scheduled sweep.
2003-02-24 22:53:26 +00:00
Alexey Zelkin
597cf12892
Add AUTHORS section
2003-02-13 22:11:19 +00:00
Alexey Zelkin
318d8cfd73
Finally! Document all undocumented functions in libc_r.
...
Add manual pages for following functions:
. pthread_attr_setcreatesuspend_np(3)
. pthread_main_np(3)
. pthread_multi_np(3)
. pthread_single_np(3)
. pthread_mutexattr_getkind_np(3)
. pthread_mutexattr_setkind_np(3)
. pthread_resume_all_np(3)
. pthread_resume_np(3)
. pthread_set_name_np(3)
. pthread_suspend_all_np(3)
. pthread_suspend_np(3)
. pthread_switch_add_np(3)
. pthread_switch_delete_np(3)
MFC after: 3 days
2003-02-13 22:10:10 +00:00
Alexey Zelkin
c18f0ff70c
Break important implementation detail note into IMPLEMENTATION DETAILS
...
section. Add cross reference to pthread_attr_getstack() function.
MFC after: 1 day
2003-02-13 18:39:06 +00:00
Alexey Zelkin
41dd2d2dfa
Add cross reference for pthread_attr_get_np()
2003-02-13 18:36:48 +00:00
Alfred Perlstein
4e44912c6c
Add pthread_attr_getstack() and pthread_attr_setstack().
...
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
2003-02-10 08:48:04 +00:00
Philippe Charnier
6f673fd1c0
The .Fn function
2003-02-06 11:10:32 +00:00
Alexey Zelkin
f3cf900844
Document additional behaviour of this function (see
...
rev 1.3 of uthread_attr_get_np.c)
2003-02-03 10:10:40 +00:00
Max Khon
f7ed1917e2
pthread_attr_get_np() now takes 'pthread_t' (not 'pthread_t *')
...
to be consistent with other pthread_XXX functions
2003-01-07 21:43:30 +00:00
Jens Schweikhardt
57bd0fc6e8
english(4) police.
2002-12-27 12:15:40 +00:00
Ruslan Ermilov
facc67676f
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
Ruslan Ermilov
c8d40b7d34
mdoc(7) police: sort xrefs in SEE ALSO.
2002-12-13 16:53:51 +00:00
Ruslan Ermilov
480565d5e4
mdoc(7) police: markup overhaul.
2002-12-13 15:27:27 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
e199383992
mdoc(7) police: overhaul.
2002-12-09 12:41:29 +00:00
Ruslan Ermilov
ae82896268
Consistently mark std(in|out|err) with .Dv, because that's how they
...
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".
Approved by: re
2002-12-04 18:57:46 +00:00
Ruslan Ermilov
d962d52ac0
mdoc(7) police: scheduled sweep.
...
Approved by: re
2002-11-29 11:39:20 +00:00
Alexey Zelkin
1f1e884a91
Add & hookup manpage for pthread_attr_get_np(3).
...
MFC after: 3 days
2002-10-26 15:04:29 +00:00
Tim J. Robbins
9c78e04d62
Make the example "assertion failure" message match reality.
2002-10-25 14:22:20 +00:00
Tim J. Robbins
a40c540ffa
Update the Standards section for the addition of the C99 va_copy macro.
2002-10-25 12:22:14 +00:00
Mike Barcroft
86954511d2
Implement C99's va_copy() macro.
2002-09-18 07:33:16 +00:00
Maxim Konovalov
25a6539985
Fix a typo.
...
MFC after: 3 days
2002-07-10 09:06:42 +00:00
Dag-Erling Smørgrav
f191b6f96c
Install the tree(3) man page.
2002-06-23 14:44:32 +00:00
Dag-Erling Smørgrav
c83272f713
This commit was generated by cvs2svn to compensate for changes in r98681,
...
which included commits to RCS files with non-trunk default branches.
2002-06-23 14:41:09 +00:00
Dag-Erling Smørgrav
87f5f0ecf9
Import the documentation for <sys/tree.h>
...
Obtained from: OpenBSD
2002-06-23 14:41:09 +00:00
Tom Rhodes
0e85d620bc
More file system > filesystem
2002-05-16 05:21:58 +00:00
Thomas Moestl
d57e28adb2
Document STAILQ_CONCAT and TAILQ_CONCAT.
...
PR: 20024
Submitted by: Tony Finch <dot@dotat.at> (TAILQ_CONCAT, slightly changed
by me)
Reviewed by: ru (earlier version)
2002-04-17 13:48:14 +00:00
Ruslan Ermilov
241c7610c2
mdoc(7) police: tidy up.
2002-03-18 16:18:33 +00:00
Maxim Konovalov
d378717e70
Add a bunch of functions.
...
PR: docs/32561
Reviewed by: deischen, ru
Approved by: ru
MFC after: 2 weeks
2002-03-11 10:45:18 +00:00
Max Khon
8b4d150858
fix MLINKS for timeradd.3
2002-01-14 20:36:34 +00:00
Doug White
e5606f14a9
Add manpage for timeradd macros and friends. A companion page for
...
timespecadd should be added at a future point...
PR: 13079
2002-01-14 00:38:20 +00:00
Ruslan Ermilov
fb5293cf53
mdoc(7) police: tidy up previous delta.
2002-01-09 15:32:25 +00:00
Julian Elischer
5e7cbd4365
Document some behaviour I'm depending on.
...
(TAILQ_FOREACH leaves the variable NULL if there were no more to do)
2001-12-28 22:00:27 +00:00
Ruslan Ermilov
3a021a4706
mdoc(7) police: one-line literal displays are faster.
2001-11-20 15:17:51 +00:00
Murray Stokely
5e77dc7342
Describe handling of NULLs passed to pthread_setcancelstate().
...
PR: docs/31745
Submitted by: Andrew <andrew@ugh.net.au>
2001-11-05 08:21:32 +00:00
Dima Dorfman
5e52f30031
Mark up NULL in .Dv.
...
PR: 31747
Submitted by: <andrew@ugh.net.au>
2001-11-04 23:13:03 +00:00
Mike Barcroft
cb5f460523
Only provide function information in compile environments that support
...
the C99 variable __func__ and never for C++. Provide a more meaningful
example in the assert(3) manual.
Reviewed by: asmodai, bde
2001-10-27 20:11:10 +00:00
Jeroen Ruigrok van der Werven
62b151c324
Document C99 conformity.
...
Update text which is printed out to reflect reality.
2001-10-24 18:14:51 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Maxim Sobolev
f36b6e4bbb
STAILQ_LAST() macro takes 3 arguments, not 1.
2001-08-21 06:19:29 +00:00
Dima Dorfman
cc0235828a
Remove unused variable in example.
2001-08-16 06:02:20 +00:00
Ruslan Ermilov
04da392069
mdoc(7) police: s/OpenBSD/.Ox/ where appropriate.
2001-08-13 16:43:02 +00:00
Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Jason Evans
aa33517e94
Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to
...
be malloc()ed, but they are now allocated using mmap(), just as the
default-size stacks are. A separate cache of stacks is kept for
non-default-size stacks.
Collaboration with: deischen
2001-07-20 04:23:11 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Jens Schweikhardt
c1f3e4bf21
Removed whitespace at end-of-line; no content changes. I simply did
...
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'
BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...
Reviewed by: Silence from cvs diff -b
MFC after: 7 days
2001-07-14 19:41:16 +00:00
Ruslan Ermilov
3d45e180f4
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:31:11 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
5521ff5a4d
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
Gregory Neil Shapiro
c1c5db8149
Typo fix: requires -> reacquires
...
Submitted by: Murray S. Kucherawy <msk@sendmail.com>
MFC after: 3 days
2001-06-27 06:01:17 +00:00
Dima Dorfman
d33f4d20c9
Add a missing word.
...
Obtained from: OpenBSD
2001-06-05 00:25:18 +00:00
Dima Dorfman
5940a2ebe0
Add a missing word.
2001-06-05 00:11:08 +00:00
Ruslan Ermilov
108b08b24e
Fixed typo in the description.
...
PR: docs/27411
Submitted by: David Wimsey <dwimsey@rtci.com>
2001-05-18 06:56:03 +00:00
Ruslan Ermilov
acaf79e1b9
MAN[1-9] -> MAN.
2001-03-27 13:48:25 +00:00
Dima Dorfman
b86388c179
Remove the last remnants of circle queues.
...
PR: 25184
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Approved by: nik
2001-03-15 02:08:44 +00:00
Ruslan Ermilov
0d42ab242e
mdoc(7) police: fix markup.
2001-03-02 09:59:58 +00:00
Ruslan Ermilov
3c23375608
mdoc(7) police: utilize .St macro.
2001-02-26 16:02:53 +00:00
Ruslan Ermilov
096841eceb
Use ``.St -p1003.1-96''.
2001-02-26 15:16:43 +00:00
Ruslan Ermilov
589a5e341f
/^\.St/ s/-iso9945-1/-p1003.1-96/
2001-02-26 14:48:38 +00:00
Ruslan Ermilov
588a200ce1
.St -ansiC -> .St -isoC
2001-02-26 13:23:47 +00:00
Bruce Evans
c70db3ffb1
Fixed missing #include and wrong prototypes. Most of these bugs were
...
duplicated in libc_r/man/*.3 but were fixed years ago there. Here
they were hiding under mdoc errors.
2001-02-06 01:31:04 +00:00
Nik Clayton
7b79d3ab37
Fix typo.
...
PR: docs/23936
Submitted by: Garret Rooney <rooneg@rpi.edu>
2001-02-02 03:32:03 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
b77b3c00be
mdoc(7) police: Ft/Vt now accept punctuation-type arguments.
2001-01-12 15:46:56 +00:00
Ben Smithurst
b4660c3783
Remove comma after final .Nm entry before .Nd
2000-12-30 18:58:15 +00:00
Ben Smithurst
83c1fbc27f
Remove CIRCLEQ manual page links now that CIRCLEQ has been axed.
2000-12-30 18:54:35 +00:00
Ruslan Ermilov
4263595653
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
Poul-Henning Kamp
24b85d18c5
CIRCLEQs are a disgrace to everything Knuth taught us in Volume 1 Chapter 2.
...
Retire them before anybody starts to use them again.
Use TAILQ instead, it provides the same functionality.
2000-12-29 09:55:40 +00:00
Ruslan Ermilov
3136363f3e
Prepare for mdoc(7)NG.
2000-12-29 09:18:45 +00:00
Ruslan Ermilov
4b66483fd8
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 18:41:33 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Ben Smithurst
6fe89339b9
remove fullstops from the end of .Xr lines in SEE ALSO sections.
2000-11-15 16:00:07 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Alfred Perlstein
ce900f0398
Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
...
called 'elm'. It doesn't take an arg 'elm', it simply removes the
element at the head of the list.
2000-11-09 23:34:39 +00:00
Sheldon Hearn
b24e6a5a39
Whitespace-only change: fix hard sentence breaks in previous commit.
2000-08-28 10:11:56 +00:00
Alexey Zelkin
b166438d50
Apply fixes from NetBSD to bring this manual page into reallity.
...
Inspired by: ru & 4.4BSD Design and Implementation
Obtained from: NetBSD
2000-08-28 09:27:28 +00:00
Mark Murray
d6c6381834
Fix minor typo.
2000-07-27 19:13:32 +00:00
Jason Evans
c1110eb673
pthread_once --> pthread_once_t.
2000-07-19 16:38:07 +00:00
Jason Evans
8e234adf86
Change my email address in the copyright notices for the sake of consistency
...
(jasone@canonware.com --> jasone@freebsd.org ).
2000-07-18 01:38:19 +00:00
Jake Burkholder
51255f9da7
Add MLINKS for queue(3) FOREACH_REVERSE and HEAD_INITIALIZER macros.
...
Forgotten by: jake, archie
2000-06-12 15:28:08 +00:00
Jake Burkholder
03763fe07f
(1) document *_HEAD_INITIALIZER
...
(2) fix a STAILQ_HEAD that should have been STAILQ_FIRST
Requested by: (1) bde
(2) W Gerald Hicks <jhix@mindspring.com>
2000-06-10 16:41:07 +00:00
Chris Costello
d2e7a6a46f
Fix a misspelling: undefied -> undefined
2000-05-27 22:02:32 +00:00
Alexey Zelkin
f8316c1042
Add MLINKS for all macros decribed in queue.3 manpage.
2000-05-12 07:58:37 +00:00
Bruce Evans
27010737a9
"Fixed" missing include in synopsis. POSIX.1-1996 only specifies
...
including <signal.h>, but that must be a bug in POSIX.1, because it
also specifies that the relevant prototype is [only] in <pthread.h>.
2000-05-11 16:13:18 +00:00
Bruce Evans
ce8973f06a
Fixed misspelling of a struct tag in a function parameter type.
2000-05-11 16:03:38 +00:00
Sheldon Hearn
f167d7fb3e
Fix miscellaneous mdoc macro argument limit infringements.
...
PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Alexey Zelkin
2a53c5ec96
mdoc(7) cleanup:
...
. use real function names as `.Nm' macro argument in NAME section. It allows
them to appear in apropos(1) or whatis(1) output.
. replace empty lines with `.Pp' macro.
. replace hardcoded standard names with their `.St' macro equivalents.
. sort cross references in SEE ALSO section
2000-05-04 08:05:45 +00:00
Jason Evans
97f2978aa0
Add missing .El macro.
2000-05-03 08:50:43 +00:00
Jason Evans
4c089f4dff
Add missing man pages. Fix various compliance bugs, mostly having to do with
...
error return values. Implement pthread_mutexattr_gettype().
PR: docs/16537, docs/17538
2000-05-02 06:51:40 +00:00
Archie Cobbs
6c1d0fbf06
Document TAILQ_FOREACH_REVERSE() and CIRCLEQ_FOREACH_REVERSE() macros.
...
Submitted by: Jake Burkholder <jburkhol@home.com>
2000-05-01 18:22:59 +00:00
Alexey Zelkin
d8a7868820
Introduce .Lb macro to libc_r manpages.
2000-04-22 15:50:29 +00:00
John Baldwin
266e33fd51
Update STAILQ example to use STAILQ_REMOVE_HEAD instead of
...
TAILQ_REMOVE_HEAD.
PR: docs/17590
Submitted by: Benno Rice <benno@netizen.com.au>
2000-03-27 13:26:45 +00:00
Sheldon Hearn
4e86fcacf6
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00