conio.h File Reference

My version of conio.h include file that some portions of code provided by SensAble require. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/poll.h>
#include <termios.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
Include dependency graph for conio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

static struct termios term_attribs term_attribs_old
 
static void restore_term (void)
 
int _kbhit ()
 waits for user input on keyboard More...
 
int getch ()
 gets character from keyboard input More...
 

Detailed Description

My version of conio.h include file that some portions of code provided by SensAble require.

All credits go to SensAble.

Copyright (c) 2005 SensAble Technologies, Inc. All rights reserved.

OpenHaptics(TM) toolkit. The material embodied in this software and use of this software is subject to the terms and conditions of the clickthrough Development License Agreement.

For questions, comments or bug reports, go to forums at: http://dsc.sensable.com

Module Name:

conio.h

Description:

Console functionality required by example code.
Author
pedro_cruz
Version
1.0
Date
3 May 2012

Definition in file conio.h.

Function Documentation

int _kbhit ( )

waits for user input on keyboard

This functions holds program execution until user presses any key.

Returns
0 if sucessful | errorcode if not

Definition at line 34 of file conio.cpp.

int getch ( )

gets character from keyboard input

This functions holds program execution until user presses any key.

Returns
input char if sucessful | errorcode if not

Definition at line 96 of file conio.cpp.

static void restore_term ( void  )
static

Definition at line 48 of file conio.h.

Variable Documentation

struct termios term_attribs term_attribs_old
static

Definition at line 46 of file conio.h.



phua_haptic
Author(s): Pedro Cruz
autogenerated on Mon Mar 2 2015 01:32:36