field_just3
Retrieve field characteristics
Usage
#include <form.h>
int set_field_just(FIELD *field, int justification); int field_just(const FIELD *field);
Overview
The function set_field_just sets the justification attribute of a field; field_just returns a field's justification attribute. The attribute may be one of NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
Return value
The function field_just returns one of: NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
The function set_field_just returns one of the following:
|
The routine succeeded. |
|---|---|
|
System error occurred (see errno(3)). |
|
Routine detected an incorrect or out-of-range argument. |
Portability
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
Releases
66 releases since FreeBSD 4.3-RELEASE; the text changed 6 times.