Curses Library Functions formfielduserptr(3CURSES)
NAME
formfielduserptr, setfielduserptr, fielduserptr - asso-
ciate application data with forms
SYNOPSIS
cc [ flag... ] file... -lform -lcurses [ library... ]
#include
int setfielduserptr(FIELD *field, char *ptr);
char *fielduserptr(FIELD *field);
DESCRIPTION
Every field has an associated user pointer that can be used
to store pertinent data. setfielduserptr() sets the user
pointer of field. fielduserptr() returns the user pointer
of field.
RETURN VALUES
fielduserptr() returns NUL on error. setfielduserptr()
returns one of the following:
EOK The function returned successfully.
ESYSTEMEROR System error.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), forms(3CURSES), attributes(5)
NOTES
The header automatically includes the headers
and .
SunOS 5.11 Last change: 31 Dec 1996 1
|