Unix and Linux Discussions Tagged with fields |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
1,466 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,112 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,608 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,347 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,565 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
3,170 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,808 |
Shell Programming and Scripting |
|
|
|
2 |
1,729 |
Shell Programming and Scripting |
|
|
|
6 |
4,220 |
Shell Programming and Scripting |
|
|
|
6 |
40,234 |
Shell Programming and Scripting |
|
|
|
6 |
1,900 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,980 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,779 |
Shell Programming and Scripting |
|
|
|
4 |
2,434 |
Shell Programming and Scripting |
|
|
|
4 |
1,737 |
Shell Programming and Scripting |
|
|
|
10 |
8,075 |
Shell Programming and Scripting |
|
|
|
2 |
12,336 |
Shell Programming and Scripting |
|
|
|
4 |
2,397 |
Shell Programming and Scripting |
|
|
|
8 |
5,885 |
Shell Programming and Scripting |
|
|
|
8 |
7,521 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,118 |
Shell Programming and Scripting |
|
|
|
5 |
3,319 |
Shell Programming and Scripting |
|
|
|
6 |
3,143 |
Shell Programming and Scripting |
|
|
|
4 |
1,691 |
Shell Programming and Scripting |
|
|
|
2 |
3,126 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,910 |
Shell Programming and Scripting |
|
|
|
3 |
4,413 |
Shell Programming and Scripting |
|
|
|
3 |
1,918 |
Shell Programming and Scripting |
|
|
|
2 |
2,150 |
Shell Programming and Scripting |
|
|
|
2 |
2,034 |
Shell Programming and Scripting |
|
|
|
5 |
2,561 |
Shell Programming and Scripting |
|
|
|
3 |
12,426 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,444 |
Shell Programming and Scripting |
|
|
|
12 |
4,901 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,428 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
29,643 |
Shell Programming and Scripting |
|
|
|
1 |
1,643 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,138 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,502 |
Shell Programming and Scripting |
|
|
|
1 |
5,428 |
Shell Programming and Scripting |
FORMS(3) BSD Library Functions Manual FORMS(3)
NAME
field_count, form_fields, move_field, set_form_fields -- form library
LIBRARY
Curses Form Library (libform, -lform)
SYNOPSIS
#include <form.h>
int
field_count(FORM *form);
FIELD **
form_fields(FORM *form);
int
move_field(FIELD *field, int frow, int fcol);
int
set_form_fields(FORM *form, FIELD **fields);
DESCRIPTION
The field_count() function returns the number of fields that are attached to the given form, if the form argument passed is NULL then
field_count() will return -1. The function form_fields() will return a pointer to array of attach fields for the given form, this array is
not NULL terminated, fields may be attached to the given form by calling set_form_fields(). The fields argument in this function is a
pointer to a NULL terminated array of fields that will be attached to the form. If there are already fields attached to the form then they
will be detached before the new fields are attached. The new fields given must not be attached to any other form. The move_field() function
will move the given field to the location specified by frow and fcol.
RETURN VALUES
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_CONNECTED The field is connected to a form.
E_POSTED The form is currently posted to the screen.
E_BAD_ARGUMENT The function was passed a bad argument.
SEE ALSO
curses(3), forms(3)
NOTES
The header <form.h> automatically includes both <curses.h> and <eti.h>.
BSD
January 1, 2001 BSD