assert man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]



     ASSERT(S)		      XENIX System V		     ASSERT(S)

     Name
	  assert - Helps verify validity of program.

     Syntax
	  #include <stdio.h>
	  #include <assert.h>

	  void assert (expression)
	  int expression;

     Description
	  This macro is useful for putting diagnostics into programs
	  under development.  When it is executed, if expression is
	  false (zero), it displays:

	       Assertion failed: expression, file name, line nnn

	  on the standard error file and aborts.  name is the source
	  filename and nnn is the source line number of the assert
	  statement.

     Notes
	  To suppress calls to assert, use the -DNDEBUG option (see
	  cpp(CP)), or insert the preprocessor control statement,
	  #define NDEBUG before the #include <assert.h> statement when
	  compiling the program.

     See Also
	  abort(S), cpp(CP)

     Page 1					      (printed 8/7/87)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net