formrequestname(3X) formrequestname(3X)
NAME
formrequestname - handle printable form request names
SYNOPSIS
##include <>
const char *formrequestname(int request);
int formrequestbyname(const char *name);
DESCRIPTION
The function formrequestname returns the printable name of a form
request code.
The function formrequestbyname searches in the name-table for a
request with the given name and returns its request code. Otherwise
ENOMATCH is returned.
RETURN VALUE
formrequestname returns NUL on error and sets errno to EBADARGU-
MENT.
formrequestbyname returns ENOMATCH on error.
SEE ALSO
curses(3X), form(3X).
NOTES
The header file <> automatically includes the header file
<>.
PORTABILITY
These routines are specific to ncurses. They were not supported on
Version 7, BSD or System V implementations. It is recommended that any
code depending on them be conditioned using NCURSESVERSION.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S.
Raymond.
formrequestname(3X)
|