assert.3 (9c78e04d6250ea1689bc2ec4541e9551ca8e6026) | assert.3 (ae828962685b8ae9e5104ce8e7fe8b05effcb9ec) |
---|---|
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. --- 36 unchanged lines hidden (view full) --- 45The 46.Fn assert 47macro tests the given 48.Ar expression 49and if it is false, 50the calling process is terminated. 51A 52diagnostic message is written to | 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. --- 36 unchanged lines hidden (view full) --- 45The 46.Fn assert 47macro tests the given 48.Ar expression 49and if it is false, 50the calling process is terminated. 51A 52diagnostic message is written to |
53.Em stderr | 53.Dv stderr |
54and the function 55.Xr abort 3 56is called, effectively terminating the program. 57.Pp 58If 59.Ar expression 60is true, 61the --- 33 unchanged lines hidden --- | 54and the function 55.Xr abort 3 56is called, effectively terminating the program. 57.Pp 58If 59.Ar expression 60is true, 61the --- 33 unchanged lines hidden --- |