Edward Tomasz Napierala
604f1c416c
Don't put multiple names on a single .Nm line. This fixes apropos(1)
...
output, from this:
strnlen, strlen, strlen,(3) - find length of string │·······
... to this:
strlen, strnlen(3) - find length of string
PR: 223525
MFC after: 2 weeks
2018-04-17 09:05:46 +00:00
Sergey Kandaurov
48ac3a2af5
Fixed indentation, minor style.
2016-04-18 09:56:41 +00:00
David Chisnall
46cdc14062
Add support for some block functions that come from OS X. These are
...
intended to build with any C compiler.
Reviewed by: pfg
MFC after: 3 weeks
2014-04-02 16:07:48 +00:00
Ed Maste
580b4d185b
Renumber clauses to reduce diffs to other versions
...
NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3,
so follow suit to make comparison easier.
2013-06-13 00:19:30 +00:00
Joel Dahl
954349a63c
Sort sections.
2013-02-20 19:05:13 +00:00
Giorgos Keramidas
302318d549
Various improvements to the qsort(3) usage example:
...
- Remove unused #include.
- Do not cast away const.
- Use the canonical idiom to compare two numbers.
- Use proper type for sizes, i.e. size_t instead of int.
- Correct indentation.
- Simplify printf("\n") to puts("").
- Use return instead of exit() in main().
Submitted by: Christoph Mallon, christoph.mallon at gmx.de
Approved by: gjb (mentor)
Reviewed by: stefanf
MFC after: 1 week
2013-02-20 18:31:55 +00:00
Giorgos Keramidas
8ce3e01e09
Add a sample program that shows how a custom comparison function and
...
qsort(3) can work together to sort an array of integers.
PR: docs/176197
Submitted by: Fernando, fapesteguia at opensistemas.com
Approved by: gjb (mentor)
MFC after: 1 week
2013-02-19 23:57:39 +00:00
Warner Losh
c879ae3536
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
Ruslan Ermilov
24a0682c64
Sort sections.
2005-01-20 09:17:07 +00:00
Ruslan Ermilov
1a0a934547
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
Tim J. Robbins
5e24a42489
Cite the published version of "Engineering a Sort Function" instead of
...
an email address. Spell McIlroy correctly.
2003-09-30 07:05:46 +00:00
Ruslan Ermilov
1fae73b137
mdoc(7) police: "The .Fn function".
2002-12-18 12:45:11 +00:00
Ruslan Ermilov
1798791d24
mdoc(7) police: formatting nits.
...
Approved by: re
2002-11-29 15:57:50 +00:00
Garrett Wollman
eca67d5104
Implement C99's _Exit() interface.
...
Implement a version of qsort that provides a thunk to the comparison function.
Update manual pages.
2002-09-10 02:04:49 +00:00
Jeroen Ruigrok van der Werven
8aefde0607
Move to using .In instead of .Fd #include <> for include mark-up.
...
Inspired by comment from: dd
2001-09-07 14:46:36 +00:00
Ruslan Ermilov
d6002fef6f
Use ``.Rv -std'' wherever possible.
...
Submitted by: yar
2001-08-31 09:57:38 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
588a200ce1
.St -ansiC -> .St -isoC
2001-02-26 13:23:47 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Alexey Zelkin
25bb73e063
Introduce ".Lb" macro to libc manpages.
...
More libraries manpages updates following.
2000-04-21 09:42:15 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Nik Clayton
fbc400a67a
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:50:10 +00:00
Robert Nordier
8d2c3c32bd
Include mergesort() in description of errors.
1998-11-04 09:27:03 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00