*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> form_field_buffer (3)              
Title
Content
Arch
Section
 

FORMS(3)

Contents


NAME    [Toc]    [Back]

     field_buffer, field_status, set_field_buffer, set_field_status,
     set_max_field - form library

LIBRARY    [Toc]    [Back]

     library ``libform''

SYNOPSIS    [Toc]    [Back]

     #include <form.h>

     char *
     field_buffer(FIELD *field, int buffer);

     int
     field_status(FIELD *field);

     int
     set_field_buffer(FIELD *field, int buffer, char *value);

     int
     set_field_status(FIELD *field, int status);

DESCRIPTION    [Toc]    [Back]

     The field_buffer() function returns the contents of the buffer number
     specified by buffer for the given field.  If the requested buffer number
     exceeds the number of buffers attached to the field then NULL will be
     returned.  The field buffer may be set by calling set_field_buffer()
     which will set the given buffer number to the contents of the string
     passed.  Calling field_status() will return the status of the first
     buffer attached to the field.  If the field has been modified then the
     function will return TRUE otherwise FALSE is returned, the status of the
     first buffer may be programmatically set by calling set_field_status().
     The maximum growth of a dynamic field can be set by calling
     set_max_field() which limits the fields rows if the field is a multiline
     field or the fields columns if the field only has a single row.

RETURN VALUES    [Toc]    [Back]

     Functions returning pointers will return NULL if an error is detected.
     The functions that return an int will return one of the following error
     values:

     E_OK               The function was successful.
     E_BAD_ARGUMENT     A bad parameter was passed to the function.
     E_SYSTEM_ERROR     A system error occurred performing the function.

SEE ALSO    [Toc]    [Back]

      
      
     curses(3), forms(3)

NOTES    [Toc]    [Back]

     The header <form.h> automatically includes both <curses.h> and <eti.h>.

BSD                             January 1, 2001                            BSD
[ Back ]
 Similar pages
Name OS Title
zhptrd IRIX reduce a complex Hermitian matrix A stored in packed form to real symmetric tridiagonal form T by a unitary si
chptrd IRIX reduce a complex Hermitian matrix A stored in packed form to real symmetric tridiagonal form T by a unitary si
dsptrd IRIX reduce a real symmetric matrix A stored in packed form to symmetric tridiagonal form T by an orthogonal simila
ssptrd IRIX reduce a real symmetric matrix A stored in packed form to symmetric tridiagonal form T by an orthogonal simila
form_opts_off OpenBSD set and get form options
form_opts_on OpenBSD set and get form options
form_opts_on FreeBSD set and get form options
form_opts OpenBSD set and get form options
set_form_opts OpenBSD set and get form options
form_opts_off FreeBSD set and get form options
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service