assert.h revision 1
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz * All rights reserved.
fef1e07ef354c2dcda4dc397c33f5a5532432c7asl * By using this file, you agree to the terms and conditions set
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz * forth in the LICENSE file which can be found at the top level of
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz * the sendmail distribution.
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz * $Id: assert.h,v 1.10 2001/06/07 20:04:53 ca Exp $
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz#pragma ident "%Z%%M% %I% %E% SMI"
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz** libsm abnormal program termination and assertion checking
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz** See libsm/assert.html for documentation.
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz** abnormal program termination
c138f478d2bc94e73ab8f6a084e323bec25e62f5yztypedef void (*SM_ABORT_HANDLER_T) __P((const char *, int, const char *));
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz const char *,
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz const char *)));
c138f478d2bc94e73ab8f6a084e323bec25e62f5yzextern void
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz** assertion checking
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# endif /* ! SM_CHECK_ALL */
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# endif /* ! SM_CHECK_REQUIRE */
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# endif /* ! SM_CHECK_ENSURE */
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# endif /* ! SM_CHECK_ASSERT */
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# else /* defined(__STDC__) || defined(__cplusplus) */
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz "SM_REQUIRE(cond) failed"), 0)))
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# endif /* defined(__STDC__) || defined(__cplusplus) */
# if SM_CHECK_ENSURE
# if SM_CHECK_ASSERT