X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_fieldtype.3x.html;h=de3200e711ace69d6c63f7d4b9cd57a3be270fd5;hp=fc220281c8da65be4eb30b770401881254198ce1;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=a8987e73ec254703634802b4f7ee30d3a485524d diff --git a/doc/html/man/form_fieldtype.3x.html b/doc/html/man/form_fieldtype.3x.html index fc220281..de3200e7 100644 --- a/doc/html/man/form_fieldtype.3x.html +++ b/doc/html/man/form_fieldtype.3x.html @@ -1,8 +1,7 @@ - + + + form_fieldtype 3x @@ -40,19 +42,18 @@

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 *),
@@ -72,7 +73,7 @@
 
 
 
-

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 +113,31 @@
        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 +145,20 @@
        E_CONNECTED
             The field is already connected to a form.
 
+       E_CURRENT
+            The field is the current field.
+
+       E_SYSTEM_ERROR
+            System error occurred (see errno).
+
 
 
-

SEE ALSO

+

SEE ALSO

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

NOTES

+

NOTES

        The header file <form.h> automatically includes the header
        file <curses.h>.
 
@@ -154,24 +168,31 @@
 
 
 
-

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.
 
 
 
-                                               form_fieldtype(3x)
+                                                     form_fieldtype(3x)
 
-
-
-Man(1) output converted with -man2html -
+