Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getcap(3) [netbsd man page]

CURSES_TERMCAP(3)					   BSD Library Functions Manual 					 CURSES_TERMCAP(3)

NAME
curses_termcap, fullname, getcap -- curses termcap querying routines LIBRARY
Curses Library (libcurses, -lcurses) SYNOPSIS
#include <curses.h> char * fullname(char *termbuf, char *name); char * getcap(char *name); DESCRIPTION
The fullname() function takes the termcap entry in termbuf and copies the full name of the terminal from the entry into the target variable name. The full name of the terminal is assumed to be the last alias in the termcap entry name. It is assumed that the name variable has sufficient storage to hold the full name of the terminal. A termcap entry can be retrieved by calling the getcap() function with the name of the capability in name. The matching capability string for the terminal is returned. RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values: OK The function completed successfully. ERR An error occurred in the function. SEE ALSO
termcap(5) STANDARDS
The Curses Library (libcurses, -lcurses) library complies with the X/Open Curses specification, part of the Single Unix Specification. HISTORY
The Curses package appeared in 4.0BSD. BSD
October 4, 2011 BSD

Check Out this Related Man Page

CURSES_TERMCAP(3)					   BSD Library Functions Manual 					 CURSES_TERMCAP(3)

NAME
curses_termcap, fullname, getcap -- curses termcap querying routines LIBRARY
Curses Library (libcurses, -lcurses) SYNOPSIS
#include <curses.h> char * fullname(char *termbuf, char *name); char * getcap(char *name); DESCRIPTION
The fullname() function takes the termcap entry in termbuf and copies the full name of the terminal from the entry into the target variable name. The full name of the terminal is assumed to be the last alias in the termcap entry name. It is assumed that the name variable has sufficient storage to hold the full name of the terminal. A termcap entry can be retrieved by calling the getcap() function with the name of the capability in name. The matching capability string for the terminal is returned. RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values: OK The function completed successfully. ERR An error occurred in the function. SEE ALSO
termcap(5) STANDARDS
The Curses Library (libcurses, -lcurses) library complies with the X/Open Curses specification, part of the Single Unix Specification. HISTORY
The Curses package appeared in 4.0BSD. BSD
October 4, 2011 BSD
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no entry in termcap for 'hp'

Hello, I have one application (top) for Solaris that exits with error "no entry in termcap for 'hp'". What can I do with system to fix it? Is it access problem to termcap file or real corruption inside the file since I know that HP is defined in termcap? ... or changes to environment... (0 Replies)
Discussion started by: gogogo
0 Replies

2. Shell Programming and Scripting

string management

I want to prompt for a full name, then select the surname from the full name. Then address the person as the surname entered in the fullname (1 Reply)
Discussion started by: orjnet
1 Replies

3. Programming

Someone can give me some document about Curses Library?

I am programming on Linux using curses library but I found the document is not sufficient.Someone can help me? Thank you!! (4 Replies)
Discussion started by: yixudong
4 Replies