Deleted Added
full compact
assert.3 (68962) assert.3 (70466)
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)assert.3 8.1 (Berkeley) 6/9/93
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)assert.3 8.1 (Berkeley) 6/9/93
33.\" $FreeBSD: head/share/man/man3/assert.3 68962 2000-11-20 18:41:33Z ru $
33.\" $FreeBSD: head/share/man/man3/assert.3 70466 2000-12-29 09:18:45Z ru $
34.\"
35.Dd January 26, 1999
36.Dt ASSERT 3
37.Os
38.Sh NAME
39.Nm assert
40.Nd expression verification macro
41.Sh SYNOPSIS

--- 32 unchanged lines hidden (view full) ---

74.Fl D Ns Dv NDEBUG ) .
75.Sh DIAGNOSTICS
76The following diagnostic message is written to
77.Em stderr
78if
79.Ar expression
80is false:
81.Bd -literal -offset indent
34.\"
35.Dd January 26, 1999
36.Dt ASSERT 3
37.Os
38.Sh NAME
39.Nm assert
40.Nd expression verification macro
41.Sh SYNOPSIS

--- 32 unchanged lines hidden (view full) ---

74.Fl D Ns Dv NDEBUG ) .
75.Sh DIAGNOSTICS
76The following diagnostic message is written to
77.Em stderr
78if
79.Ar expression
80is false:
81.Bd -literal -offset indent
82"assertion \e"%s\e" failed: file \e"%s\e", line %d\n", \e
82"assertion \e"%s\e" failed: file \e"%s\e", line %d\en", \e
83 "expression", __FILE__, __LINE__);
84.Ed
85.Sh SEE ALSO
86.Xr abort 3
87.Sh HISTORY
88An
89.Nm
90macro appeared in
91.At v6 .
83 "expression", __FILE__, __LINE__);
84.Ed
85.Sh SEE ALSO
86.Xr abort 3
87.Sh HISTORY
88An
89.Nm
90macro appeared in
91.At v6 .