Warner Losh
2a9836a508
Depart from normal man page proactice a little and provide guidance on
...
when to use assert, as well as providing a bad example of using
assert. While not strictly necessary, experience has shown issues
with poor assert choice happen often enough that this departure seems
warranted. Also, tighten up the previous example (there's no need
to have extra paragraphs or gratuitously long lines).
Reviewed by: emaste@ (earlier version)
2018-05-31 14:23:33 +00:00
Eric van Gyzen
23d2383783
Bump the date on man pages in r334306
...
It seems a shame to ruin the patina of the June 4, 1993 date
on abort.3, especially since it still matched the date of
the SCCS ID, but those are the rules.
Reported by: araujo
MFC after: 3 days
Sponsored by: Dell EMC
2018-05-29 02:41:32 +00:00
Eric van Gyzen
4c72d794f0
Cross-reference abort2(2) from a few man pages
...
I didn't know abort2 existed until it was mentioned on a mailing list.
Mention it in related pages so others can find it easily.
MFC after: 3 days
Sponsored by: Dell EMC
2018-05-29 01:16:00 +00:00
Warner Losh
133d84f4d1
Be less verbose and more precise.
2018-01-01 19:04:40 +00:00
Warner Losh
a1895a9244
Add note that assert.h may be included multiple times
...
with and without NDEBUG defined.
2018-01-01 18:59:11 +00:00
Warner Losh
c40f7c0583
assert(3) appeared first in the 7th Edition Unix, not the 6th, at
...
least according to the extant distributions preserved at tuhs.org.
Obtained from: http://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/include/assert.h
2018-01-01 18:55:13 +00:00
Eitan Adler
dda5b39711
multiple: Remove 3rd clause from BSD license where approved by the
...
regents and renumber.
This patch skips files in contrib/ and crypto/
Acked by: imp
Discussed with: emaste
2014-03-14 03:07:51 +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
Tim J. Robbins
9c78e04d62
Make the example "assertion failure" message match reality.
2002-10-25 14:22:20 +00:00
Ruslan Ermilov
3a021a4706
mdoc(7) police: one-line literal displays are faster.
2001-11-20 15:17:51 +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
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
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Kris Kennaway
2038017be6
Minor punctuation/grammar nits.
1999-04-30 13:12:44 +00:00
Garrett Wollman
8a78a4d285
Fix typo by rewriting sentence.
1999-01-26 16:59:02 +00:00
Alexander Langer
e69bcfc3bc
Expanded cross references.
1998-01-02 19:22:52 +00:00
John-Mark Gurney
ac5afce161
add missing cvs Id lines.
1997-03-07 03:28:23 +00:00
Alexander Langer
671e66d2e0
Indicate that assert exits with abort(3) instead of _exit(2). Closes
...
PR 1317.
Reviewed by: alex
Submitted by: Cove Schneider <cove@brazil.nbn.com>
1996-06-12 23:46:47 +00:00
Rodney W. Grimes
afe61c1516
BSD 4.4 Lite Share Sources
1994-05-30 19:09:18 +00:00