1form_field_just(3X) form_field_just(3X)
2
3
4
6 set_field_just, field_just - retrieve field characteristics
7
9 #include <form.h>
10 int set_field_just(FIELD *field, int justification);
11 int field_just(const FIELD *field);
12
14 The function set_field_just sets the justification attribute of a
15 field; field_just returns a field's justification attribute. The
16 attribute may be one of NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT,
17 or JUSTIFY_CENTER.
18
20 The function field_just returns one of: NO_JUSTIFICATION, JUS‐
21 TIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
22
23 The function set_field_just returns one of the following:
24
25 E_OK The routine succeeded.
26
27 E_SYSTEM_ERROR
28 System error occurred (see errno).
29
30 E_BAD_ARGUMENT
31 Routine detected an incorrect or out-of-range argument.
32
34 curses(3X) and related pages whose names begin "form_" for detailed
35 descriptions of the entry points.
36
38 The header file <form.h> automatically includes the header file
39 <curses.h>.
40
42 These routines emulate the System V forms library. They were not sup‐
43 ported on Version 7 or BSD versions.
44
46 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S.
47 Raymond.
48
49
50
51 form_field_just(3X)