John Baldwin
e95be33a5e
Use panic() (which the environment is required to provide to libstand) to
...
implement assert() instead of relying on a non-required exit(). The exit()
invocation also did not match the semantics of the exit() routine that
current boot environments happen to require.
PR: kern/144749
Discussed with: bde
MFC after: 1 week
2010-03-30 19:07:41 +00:00
Mike Barcroft
762e881bab
Make the output from assert() look more like the example in the C99
...
standard.
Requested by: bde
2001-10-29 07:07:25 +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
d4c54c0c46
Add __FBSDID.
...
Change __assert() function to print failing function name.
This makes us C99 conforming.
2001-10-24 18:12:43 +00:00
Matthew Dillon
e74b6a84ce
Add __FBSDID()s to libstand
2001-09-30 22:28:01 +00:00
Mark Peek
44af2e3166
Make include file consistent with the rest of libstand.
2001-07-31 15:49:50 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Smith
17bcf9c00a
Add:
...
assert()
setjmp()/longjmp()
vsprintf()
1998-11-01 09:31:08 +00:00