external functions in readme ok
This commit is contained in:
@@ -102,9 +102,12 @@
|
||||
- **perror** : `void perror(const char *s);` produces a message on standard error describing the last error encountered during a call to a system or library function
|
||||
### termcap :
|
||||
The termcap data base describes the capabilities of hundreds of different display terminals in great detail The termcap library is provided for easy access this data base in programs that want to do terminal-independent character-based display output
|
||||
|
||||
- **tgetent** : `int tgetent (char *buffer, char *termtype);` finds the description of the terminal type and remembers it internally so that you can interrogate it about specific terminal capabilities
|
||||
|
||||
Each piece of information recorded in a terminal description is called a capability
|
||||
There are three functions to use to get the value of a capability :
|
||||
|
||||
- **tgetflag** : `int tgetflag (char *name);` get a boolean value
|
||||
- **tgetnum** : `int tgetnum (char *name);` get a capability value that is numeric
|
||||
- **tgetstr** : `char *tgetstr (char *name, char **area);` get a string value
|
||||
|
||||
Reference in New Issue
Block a user