summaryrefslogtreecommitdiffstats
path: root/share/man/man3/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r284915:hselasky2015-10-081-1/+14
| | | | | | | | | | | | | | | | | Make the system queue header file fully usable within C++ programs by adding macros to define class lists. This change is backwards compatible for all use within C and C++ programs. Only C++ programs will have added support to use the queue macros within classes. Previously the queue macros could only be used within structures. The queue.3 manual page has been updated to describe the new functionality and some alphabetic sorting has been done while at it. Differential Revision: https://reviews.freebsd.org/D2745 PR: 200827 (exp-run)
* Implement LIST_PREV().ed2012-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Regular LISTs have been implemented in such a way that the prev-pointer does not point to the previous element, but to the next-pointer stored in the previous element. This is done to simplify LIST_REMOVE(). This macro can be implemented without knowing the address of the list head. Unfortunately this makes it harder to implement LIST_PREV(), which is why this macro was never here. Still, it is possible to implement this macro. If the prev-pointer points to the list head, we return NULL. Otherwise we simply subtract the offset of the prev-pointer within the structure. It's not as efficient as traversing forward of course, but in practice it shouldn't be that bad. In almost all use cases, people will want to compare the value returned by LIST_PREV() against NULL, so an optimizing compiler will not emit code that does more branching than TAILQs. While there, make the code a bit more readable by introducing __member2struct(). This makes STAILQ_LAST() far more readable. MFC after: 1 month
* Add manual pages for clock_getcpuclockid and pthread_getcpuclockid.davidxu2012-08-211-0/+1
|
* Add offsetof.3 man pagekevlo2012-02-081-0/+1
| | | | Obtained from: OpenBSD
* Add missing \.ed2011-12-271-1/+1
| | | | While sorting the MLINKS by name, I forgot to re-add it.
* Add manual page for atomic operations.ed2011-12-271-1/+24
|
* Note that the _SWAP operation is supported for all list/queue types.mdf2011-05-131-1/+5
| | | | | | | | Also place STAILQ_REMOVE_HEAD in alphabetical order. Lastly, document the _SWAP macros. PR: kern/143033 MFC after: 1 week
* Introduce a non-portable function pthread_getthreadid_np(3) to retrievejkim2011-02-071-0/+1
| | | | | | | calling thread's unique integral ID, which is similar to AIX function of the same name. Bump __FreeBSD_version to note its introduction. Reviewed by: kib
* Make a link for pthread_timedjoin_np.davidxu2010-09-111-0/+1
|
* Document clock and pshared condvar attributes.jilles2010-05-091-1/+5
| | | | | | | | | 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
* Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).delphij2010-01-091-1/+7
| | | | | Reviewed by: davidxu MFC after: 2 weeks
* Rename the queue macros I introduced last year.ed2009-05-271-2/+2
| | | | | | | | | | | | | | | | 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.
* Several documentation fixups related to device minor/major numbers:ed2008-09-281-0/+3
| | | | | | | | | | | | | - 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().
* Introduce REMOVE_NEXT() macro's for SLIST and STAILQ.ed2008-05-221-0/+2
| | | | | | | | | | | | | | | 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
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-1/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* Install manpage links for RB_PREV and RB_FOREACH_REVERSE.jasone2008-03-071-0/+2
|
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-091-1/+1
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-091-1/+1
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* Removed libc_r build support.ru2006-09-301-1/+1
|
* o Add pthread_yield.3 man page.maxim2006-09-181-1/+2
| | | | | | | PR: docs/100083 Reviewed by: deischen, ru Obtained from: OpenBSD MFC after: 2 weeks
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | 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)
* Add the RB_PROTOTYPE_STATIC and RB_GENERATE_STATIC macros.jasone2006-01-191-0/+2
| | | | Approved by: markm (mentor)
* o Sort MLINKS.maxim2006-01-111-1/+1
|
* Add the RB_NFIND() macro, which is useful for red-black tree searchesjasone2006-01-111-0/+1
| | | | | | | for which there may not be an exact match. Reviewed by: glebius, julian Approved by: markm (mentor)
* Add siginfo.davidxu2005-12-131-0/+1
|
* Add a manpage for pthread_atfork(3). This copies a lot of the text ofkeramida2005-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* Remove fpsetsticky(). This was added for SysV compatibility, but duedas2005-03-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* NOLIBC_R -> NO_LIBC_Rru2004-12-211-1/+1
| | | | | NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
* Sort MAN and MLINKS in dictionary order ignoring case.ru2004-09-191-3/+3
|
* Add a man page for tgmath.h.stefanf2004-08-131-0/+1
| | | | Reviewed by: keramida
* Add missing links.pjd2004-06-041-0/+5
|
* Implement PThreads barriers and barrier attributes.mtm2004-02-191-0/+8
|
* o Implement the pthread_spin_* functions in libthr.mtm2004-01-221-0/+5
| | | | o Man pages
* Use a single style for share/man/ makefiles:ru2004-01-201-210/+230
| | | | | | | | - 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.
* Add an implementation of pthread_rwlock_timed{rd,wr}lock() to libthr withmtm2004-01-161-0/+2
| | | | attendant documentation.
* Have a single set of POSIX threads man pages. The LIBRARY sectionru2004-01-141-5/+102
| | | | | | | | of each manpage lists libraries that have corresponding interfaces implemented. Prodded by: threads Reviewed by: deischen
* o Implement pthread_mutex_timedlock(), which does not block indefinitely onmtm2003-12-301-0/+5
| | | | | a mutex locked by another thread. o document it: pthread_mutex_timedlock(3)
* Implement C99's va_copy() macro.mike2002-09-181-1/+1
|
* Install the tree(3) man page.des2002-06-231-1/+37
|
* Document STAILQ_CONCAT and TAILQ_CONCAT.tmm2002-04-171-0/+2
| | | | | | | PR: 20024 Submitted by: Tony Finch <dot@dotat.at> (TAILQ_CONCAT, slightly changed by me) Reviewed by: ru (earlier version)
* fix MLINKS for timeradd.3fjoe2002-01-141-1/+2
|
* Add manpage for timeradd macros and friends. A companion page fordwhite2002-01-141-1/+3
| | | | | | timespecadd should be added at a future point... PR: 13079
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Remove CIRCLEQ manual page links now that CIRCLEQ has been axed.ben2000-12-301-16/+0
|
* Add MLINKS for queue(3) FOREACH_REVERSE and HEAD_INITIALIZER macros.jake2000-06-121-1/+8
| | | | Forgotten by: jake, archie
* Add MLINKS for all macros decribed in queue.3 manpage.phantom2000-05-121-18/+64
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* fix the links to the bitstring man page..jmg1999-06-251-3/+3
| | | | fix wording in man page, through != to
* Document the fpgetprec/fpsetprec functions in their man page.jlemon1998-02-041-1/+2
| | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde
* Revert $FreeBSD$ back to $Id$peter1997-02-221-1/+1
|
OpenPOWER on IntegriCloud