field_userptr


HOME

field_userptr

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_field_userptr − associate application data with a form field

SYNOPSIS

#include <form.h>
int set_field_userptr(FIELD *field, void*userptr);
void *field_userptr(const FIELD *field);

DESCRIPTION

Every form field has a field that can be used to hold application-specific data (that is, the form-driver code leaves it alone). These functions get and set that field.

RETURN VALUE

The function field_userptr returns a pointer (which may be NULL). It does not set errno.

The function set_field_userptr returns E_OK (success).

SEE ALSO

ncurses(3NCURSES), form(3FORM).

NOTES

The header file <form.h> automatically includes the header file <curses.h>.

PORTABILITY

These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.

The user pointer is a void pointer. We chose not to leave it as a char pointer for SVr4 compatibility.

AUTHORS

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.




More Linux Commands

manpages/smi_macro.3.html
smi_macro(3) - SMI macro and extension information routines
These functions retrieve information on an extension statement definition (SMIng) or a macro (SMIv1/v2). The smiGetMacro() function retrieves a struct SmiMacro

manpages/pam_conv.3.html
pam_conv(3) - PAM conversation function - Linux manual page
The PAM library uses an application-defined callback to allow a direct communication between a loaded module and the application. This callback is specified by

manpages/perlreref.1.html
perlreref(1) - Perl Regular Expressions Reference (ManPage)
This is a quick reference to Perls regular expressions. For full information see perlre and perlop, as well as the SEE ALSO section in this document. OPERATORS

manpages/fdimf.3.html
fdimf(3) - positive difference (Library - Linux man page)...
These functions return the positive difference, max(x-y,0), between their arguments. RETURN VALUE On success, these functions return the positive difference. If

manpages/java-java-1.7.0-openjdk.1.html
java-java-1.7.0-openjdk(1) (Commands - Linux man page)......
The java command starts a Java application. It does this by starting a Java runtime environment, loading a specified class, and calling that classs main method.

manpages/open_opportunity.html
301 Moved Permanently - open opportunity

manpages/XtAppNextEvent.3.html
XtAppNextEvent(3) - query and process events and input......
If the X event queue is empty, XtAppNextEvent flushes the X output buffers of each Display in the application context and waits for an event while looking at th

manpages/systemd-journald.8.html
systemd-journald(8) Journal service - Linux manual page.....
systemd-journald is a system service that collects and stores logging data. It creates and maintains structured, indexed journals based on logging information t

manpages/pam_mail.8.html
pam_mail(8) - Inform about available mail - Linux man page
The pam_mail PAM module provides the you have new mail service to the user. It can be plugged into any application that has credential or session hooks. It give

manpages/lower.n.html
lower(n) - Change a window's position in the stacking order
If the belowThis argument is omitted then the command lowers window so that it is below all of its siblings in the stacking order (it will be obscured by any si

manpages/Tcl_BadChannelOption.3.html
Tcl_BadChannelOption(3) - procedures for creating and manipu
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

manpages/Term::ReadLine::Gnu.3pm.html
Term::ReadLine::Gnu(3pm) - Perl extension for the GNU Readli
Overview This is an implementation of Term::ReadLine using the GNU Readline/History Library. For basic functions object oriented interface is provided. These ar





We can't live, work or learn in freedom unless the software we use is free.