summaryrefslogtreecommitdiffstats
path: root/share/man/man3
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* kill() does queue signal now.davidxu2010-09-111-4/+0
|
* mdoc: remove unused/empty macrosuqs2010-08-021-1/+1
|
* Cross reference tree(3) and queue(3).simon2010-07-182-0/+4
| | | | MFC after: 1 week
* - The ETIMEDOUT error applies to pthread_timedjoin_np(), not pthread_join().jhb2010-06-291-3/+3
| | | | | | - Tweak wording in history section for pthread_timedjoin_np(). MFC after: 3 days
* mdoc: move remaining sections into consistent orderuqs2010-05-131-2/+2
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* Document clock and pshared condvar attributes.jilles2010-05-093-11/+107
| | | | | | | | | 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
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-142-2/+2
| | | | | | | | 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)
* Correct cross reference.delphij2010-03-231-3/+3
| | | | MFC after: 2 weeks
* Document pthread_timedjoin_np.kib2010-01-231-4/+38
| | | | | | | Note implementation-defined EOPNOTSUPP error [1]. PR: threads/143115 [1] MFC after: 3 days
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-211-1/+1
| | | | I removed utmp and its manpage, but not other manpages referring to it.
OpenPOWER on IntegriCloud