X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_fieldtype.3x.html;h=21ca1ed249ca47333059f8bbf906293155cc3568;hp=e6fc48268a8768d93761cb999e9f1e11eea9ebdc;hb=f344f8539c1543f8cd65a5bb142dbaf23b9421d2;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/doc/html/man/form_fieldtype.3x.html b/doc/html/man/form_fieldtype.3x.html index e6fc4826..21ca1ed2 100644 --- a/doc/html/man/form_fieldtype.3x.html +++ b/doc/html/man/form_fieldtype.3x.html @@ -1,8 +1,7 @@ - + + + form_fieldtype 3x -

form_fieldtype 3x

-
+

form_fieldtype 3x

-
 form_fieldtype(3x)                                   form_fieldtype(3x)
 
 
 
 
-
-

NAME

+

NAME

        form_fieldtype - define validation-field types
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <form.h>
        FIELDTYPE *new_fieldtype(
            bool (* const field_check)(FIELD *, const void *),
@@ -71,8 +69,7 @@
                                  FIELDTYPE *type2);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

        The function new_fieldtype creates a new field type usable
        for data validation.  You supply it  with  field_check,  a
        predicate  to check the validity of an entered data string
@@ -112,24 +109,30 @@
        REQ_PREV_CHOICE assume that the possible values of a field
        form an ordered set, and provide the forms user with a way
        to  move  through the set.  The set_fieldtype_choice func-
-       tion allows forms  programmers  to  define  successor  and
-       predecessor functions for the field type.  These functions
+       tion allows forms programmers to define successor and pre-
+       decessor  functions  for  the field type.  These functions
        take the field pointer and an argument-block structure  as
        arguments.
 
 
-
-

RETURN VALUE

-       The pointer-valued routines return NULL on error.
+

RETURN VALUE

+       The  pointer-valued  routines  return NULL on error.  They
+       set errno according to their success:
+
+       E_OK The routine succeeded.
+
+       E_BAD_ARGUMENT
+            Routine detected an incorrect or  out-of-range  argu-
+            ment.
+
+       E_SYSTEM_ERROR
+            System error occurred, e.g., malloc failure.
 
        The  integer-valued  routines  return one of the following
        codes on error:
 
        E_OK The routine succeeded.
 
-       E_SYSTEM_ERROR
-            System error occurred (see errno).
-
        E_BAD_ARGUMENT
             Routine detected an incorrect or  out-of-range  argu-
             ment.
@@ -137,14 +140,18 @@
        E_CONNECTED
             The field is already connected to a form.
 
+       E_CURRENT
+            The field is the current field.
 
-
-

SEE ALSO

+       E_SYSTEM_ERROR
+            System error occurred (see errno).
+
+
+

SEE ALSO

        curses(3x), form(3x).
 
 
-
-

NOTES

+

NOTES

        The header file <form.h> automatically includes the header
        file <curses.h>.
 
@@ -153,14 +160,12 @@
        for strict compatibility with System V.
 
 
-
-

PORTABILITY

+

PORTABILITY

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

AUTHORS

+

AUTHORS

        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
        curses by Eric S. Raymond.
 
@@ -168,10 +173,17 @@
 
                                                      form_fieldtype(3x)
 
-
-
-Man(1) output converted with -man2html -
+