getch and putch functions
MacBook, Mac OS X (10.5.8)
MacBook, Mac OS X (10.5.8)
man getch
NAME
getch, wgetch, mvgetch, mvwgetch, ungetch, has_key - get
(or push back) characters from curses terminal keyboard
SYNOPSIS
#include <curses.h>
int getch(void);
int wgetch(WINDOW *win);
int mvgetch(int y, int x);
int mvwgetch(WINDOW *win, int y, int x);
int ungetch(int ch);
int has_key(int ch);
man getchar
man putchar
Tron55555 wrote:
So, Xcode does not include this file in its libraries. I'm still curious about a few things though.
1.) Why is this? Were these functions deemed unnecessary? Is there another way to achieve the same thing?
2.) Are these functions completely out of date by now (in other words, should I be concerned about knowing them based on the possibility of coming across them in someone else's code one day down the road)?
getch and putch functions