getch man page on Xenix

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



     GETCH(DOS)		      XENIX System V		    GETCH(DOS)

     Name
	  getch - Gets a character.

     Syntax
	  #include <conio.h>

	  int getch ( );

     Description
	  The getch function reads, without echoing, a single
	  character directly from the console.	Characters typed are
	  not echoed.  If a CONTROL-C is typed, the system executes an
	  INT 23H (CONTROL-C exit).

     Return Value
	  getch returns the character read.  There is no error return.

     See Also
	  cgets(DOS), getche(DOS), getchar(S)

     Example
	  #include <conio.h> #include <ctype.h>

	  int ch;

	  /* This loop gets characters from the keyboard until a **
	  non-blank character is seen. Preceding blank ** characters
	  are discarded.  */

	  do   {      ch = getch ( );	   } while (isspace (ch));

     Notes
	  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