summaryrefslogtreecommitdiffstats
path: root/share/man/man3
Commit message (Collapse)AuthorAgeFilesLines
* MFC r284915:hselasky2015-10-082-24/+78
| | | | | | | | | | | | | | | | | 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)
* MFC r283652:pkelsey2015-06-041-1/+4
| | | | | Provide an unambiguous description of the potential hazard in calling pthread_setspecific(3) from a key destructor.
* MFC r283093:pkelsey2015-05-241-0/+5
| | | | Added description of POSIX-specified behavior when invoked on a key from within that key's destructor.
* MFC r281712:kib2015-04-251-1/+4
| | | | Make wait6(2), waitid(3) and ppoll(2) cancellation points.
* MFC r281605,281768:brooks2015-04-211-2/+2
| | | | | | | | r281605: Fix a minor function definition inconsistancy. r281768: Bump doc date missed in r281605.
* MFC r280819:kib2015-04-121-59/+60
| | | | Formatting changes to the pthread_testcancel(3).
* MFC r280818:kib2015-04-121-1/+10
| | | | Make kevent(2) a cancellation point.
* MFC r277642:kib2015-02-071-1/+70
| | | | Provide individual prototype and generate macros for the red-black tree.
* MFC 273644,273738:jhb2014-11-022-2/+18
| | | | | | | | | Clarify that pthread_cleanup_push()/pop() are implemented as macros that create a new code block and thus must be balanced at the same lexical scope. (This is also a requirement in POSIX.) PR: 194280 Submitted by: dr2867.business@pacbell.net
* Merge r269871 from head:gavin2014-09-031-4/+4
| | | | | | | Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait() Submitted by: Malcolm Douglas via freebsd-doc Reviewed by: jhb
* MFC 261518:jhb2014-02-181-14/+23
| | | | | | | | - Update a few places to account for va_copy(). - Create a separate 'return values' section and move some statements about return values to that section. - Note that each invocation of va_start() and va_copy() must be paired with va_end() in the same function.
* Merge 257643: Document RB_FOREACH_SAFE() and RB_FOREACH_REVERSE_SAFE().glebius2014-01-221-1/+17
|
* Add new FOREACH_FROM variants of the queue(3) FOREACH macros which canlstewart2013-06-181-1/+151
| | | | | | | | | | | optionally start the traversal from a previously found element by passing the element in as "var". Passing a NULL "var" retains the same semantics as the regular FOREACH macros. Kudos to phk for suggesting the "FROM" suffix instead of my original proposal. Reviewed by: jhb (previous version), rpaulo MFC after: 1 week
* pthread_testcancel(3): Update list of cancellation points.jilles2013-06-111-4/+37
| | | | | This should be a fairly complete list of cancellation points in libc, libthr and librt, including standard as well as non-standard functions.
* mdoc: convert .Fd to .In, which is much nicer.joel2013-06-041-1/+1
|
* Start sentences on new lines.eadler2013-05-091-2/+4
|
* Remove cross-references to nonexistent CPU_SET(3) manpage.joel2013-04-212-4/+2
| | | | | | | Also fix cpu_getaffinity(2) document title. PR: 176317 Submitted by: brucec
* Fixing a typo.hiren2013-04-151-1/+1
| | | | | Submitted by: Benedikt Steinbusch (benedikt.steinbusch@googlemail.com) Approved by: sbruno (mentor)
* Remove contractions.joel2013-04-111-1/+1
|
* siginfo(3): Document TRAP_DTRACE signal code.jilles2012-09-141-0/+2
| | | | MFC after: 1 week
* siginfo(3): Document SI_LWP signal code.jilles2012-09-141-2/+14
| | | | | | | Describe SI_LWP as being generated by pthread_kill() because thr_kill() is a private undocumented function. MFC after: 1 week
* siginfo(3): Document SI_USER and SI_KERNEL signal codes.jilles2012-09-141-2/+23
| | | | MFC after: 1 week
* Bump date missed in r202756eadler2012-09-141-1/+1
| | | | | | | PR: docs/171624 Submitted by: bdrewery Approved by: gabor MFC after: 3 days
* Implement LIST_PREV().ed2012-09-122-3/+24
| | | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace.joel2012-08-211-1/+1
|
* Add manual pages for clock_getcpuclockid and pthread_getcpuclockid.davidxu2012-08-212-0/+85
|
* General mdoc(7) and typo fixes.gjb2012-05-113-4/+4
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* mdoc: fix column names, indentation, column separation within each row, andjoel2012-04-071-2/+2
| | | | | | | quotation. Also make sure we have the same amount of columns in each row as the number of columns we specify in the head arguments. Reviewed by: brueffer
* Remove trailing whitespace per mdoc lint warningeadler2012-03-293-5/+5
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Make sure sections are sorted into conventional order.joel2012-03-251-3/+3
|
* Add implementation note about when a condition variable can be destroyed.davidxu2012-03-161-0/+3
|
* Fix various typos in manual pages.gjb2012-02-251-2/+2
| | | | | | Submitted by: amdmi3 PR: 165431 MFC after: 1 week
* Add offsetof.3 man pagekevlo2012-02-082-0/+48
| | | | Obtained from: OpenBSD
* Pull up vendor changes to mdoc(7)uqs2012-01-052-4/+4
| | | | | | | | This switches us to using -isoC-2011 as the symbol name which is used by groff and mdocml. It follows the change to 4 digit years as done with IEEE Std 1003 post-1999. MFC after: 2 weeks (groff changes only)
* Reimplement <tgmath.h> on top of __generic().ed2012-01-051-6/+15
| | | | | | | | | | | | The macro construction used now, is almost identical to the code provided in C11 proposal N1404. This new version doesn't seem to introduce any regressions according to the regression test in tools/, but still seems to malfunction with Clang on certain aspects. The new code does work successfully with GCC 4.2, 4.6 and 4.7. With 4.7, it also works when __generic() is implemented on top of _Generic(). Discussed with: stefanf
* Document restriction on 32-bits and 64-bits datatypes.ed2011-12-271-0/+6
|
* 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-272-1/+319
|
* Fix a little typo and get rid of a cryptic description by aligning therse2011-09-021-2/+2
| | | | | | text to the remaining description. Approved by: re
* Remove note that claims pthread_set_name_np is for debugging only.emaste2011-07-151-3/+0
| | | | | | | | | | As Garrett points out, It is no more a debugging interface than setproctitle(3), and has not been since the name started getting stuffed into the kernel. This statement may have made sense when the name was only visible in thread state dumps and the debugger. PR: threads/158815 Submitted by: wollman@
* Note that the _SWAP operation is supported for all list/queue types.mdf2011-05-132-3/+45
| | | | | | | | Also place STAILQ_REMOVE_HEAD in alphabetical order. Lastly, document the _SWAP macros. PR: kern/143033 MFC after: 1 week
* - Fix typogahr2011-02-241-1/+1
| | | | Approved by: davidxu
* Add restrict keyword to pthread_sigmask prototype and manpage.kib2011-02-201-2/+3
| | | | MFC after: 1 week
* Fix the previous commit of pthread_getthreadid_np(3).jkim2011-02-071-57/+0
|
* Introduce a non-portable function pthread_getthreadid_np(3) to retrievejkim2011-02-073-1/+116
| | | | | | | 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
* Remove a bullet point that appears to have been accidentally inserted twice.gavin2011-01-111-1/+0
| | | | | | | It has also been included within the feature lists to which it is relevant. Submitted by: tobez MFC after: 1 week
* Explain some of the reasons that fpsetprec() is unlikely to work asdas2010-12-031-1/+5
| | | | | | | one might expect. (These functions have already been deprecated for many years.) PR: 133583
* Follow the change made in libthr, add ERANGE error code and moredavidxu2010-10-281-2/+12
| | | | EINVAL error cases.
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-3/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* Make a link for pthread_timedjoin_np.davidxu2010-09-111-0/+1
|
OpenPOWER on IntegriCloud