#include <form.h>
int set_field_fore(FIELD *field, chtype attr);
chtype field_fore(FIELD *field);
int set_field_back(FIELD *field, chtype attr);
chtype field_back(FIELD *field);
int set_field_pad(FIELD *field, int pad);
int field_pad(FIELD *field);
Unsafe
set_field_back() sets the background attribute of field. The background attribute is the low-level curses display attribute used to display the extent of the field. field_back() returns the background attribute of field.
set_field_pad() sets the pad character of field to pad. The pad character is the character used to fill within the field. field_pad() returns the pad character of field.
set_field_fore(), set_field_back(), and set_field_pad() return one of the following:
E_OK - The function returned successfully. E_SYSTEM_ERROR - System error. E_BAD_ARGUMENT - An argument is incorrect.
The header <form.h> automatically includes the headers <eti.h> and <curses.h>.