itoa man page on Xenix

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



     ITOA(DOS)		      XENIX System V		     ITOA(DOS)

     Name
	  itoa - Converts integers to characters.

     Syntax
	  #include <stdlib.h>

	  char *itoa (value, string, radix);
	  int value;
	  char *string;
	  int radix;

     Description
	  The itoa function converts the digits of the given value to
	  a null-terminated character string and stores the result in
	  string.  The radix argument specifies the base of value.  It
	  must be in the range 2-36.  If radix equals 10 and value is
	  negative, the first character of the stored string is the
	  minus sign (-).

     Return Value
	  itoa returns a pointer to string.  There is no error return.

     See Also
	  ltoa(DOS), ultoa(DOS)

     Example
	  #include <stdlib.h>

	  int radix = 8; char buffer[20]; char *p;	.	.
	       .  p = itoa (-3445,buffer,radix);     /* p = "171213"
	  */

     Notes
	  The space allocated for string must be large enough to hold
	  the returned string.	The function can return up to 17
	  bytes.

	  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