1form_field_just(3X)                                        form_field_just(3X)
2
3
4

NAME

6       set_field_just, field_just - retrieve field characteristics
7

SYNOPSIS

9       #include <form.h>
10
11       int set_field_just(FIELD *field, int justification);
12       int field_just(const FIELD *field);
13

DESCRIPTION

15       The  function  set_field_just  sets  the  justification  attribute of a
16       field; field_just returns a field's justification attribute.   The  at‐
17       tribute may be one of NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or
18       JUSTIFY_CENTER.
19

RETURN VALUE

21       The  function  field_just  returns  one  of:   NO_JUSTIFICATION,   JUS‐
22       TIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
23
24       The function set_field_just returns one of the following:
25
26       E_OK The routine succeeded.
27
28       E_SYSTEM_ERROR
29            System error occurred (see errno(3)).
30
31       E_BAD_ARGUMENT
32            Routine detected an incorrect or out-of-range argument.
33

SEE ALSO

35       curses(3X) and related pages whose names begin “form_” for detailed de‐
36       scriptions of the entry points.
37

NOTES

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

PORTABILITY

43       These  routines emulate the System V forms library.  They were not sup‐
44       ported on Version 7 or BSD versions.
45

AUTHORS

47       Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.
48       Raymond.
49
50
51
52                                                           form_field_just(3X)
Impressum