cprintf man page on Xenix

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



     CPRINTF(DOS)	      XENIX System V		  CPRINTF(DOS)

     Name
	  cprintf - Formats output.

     Syntax
	  #include <conio.h>

	  int cprintf (format[ arg... ]);
	  char *format;

     Description
	  The cprintf function formats and prints a series of
	  characters and values directly to the console, using the
	  putch function to output characters.	Each argument (if any)
	  is converted and output according to the corresponding
	  format specification in the format.  The format has the same
	  form and function as the format argument for the printf
	  function; see the printf reference page for a description of
	  the format and arguments.

     Return Value
	  cprintf returns the number of characters printed.

     See Also
	  fprintf(S), printf(S), sprintf(S)

     Example
	  #include <conio.h>

	  int i = -16, j = 29; unsigned int k = 511;

	  /* The following statement prints i=-16, j=0x1d, k=511 */

	  cprintf ("i=%d, j=%#x, k=%u\n",i,j,k);

     Notes
	  Unlike the fprintf, printf, and sprintf functions, cprintf
	  does not translate linefeed (LF) characters into carriage
	  return/linefeed combinations (CR-LF) on output.

	  This call must be compiled with the -dos flag.

     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