form_field_just(3X)
πΈ form_field_just(3X) β set_field_just, field_just, and the justification agenda
π NAME
set_field_just, field_just β retrieve field characteristics. Yes bestie, this is the field-justification corner of the forms library, and it's lowkey iconic.
β¨ SYNOPSIS
#include <form.h>
int set_field_just(FIELD *field, int justification);
int field_just(const FIELD *field);
π¦ DESCRIPTION
Okay so picture this: set_field_just sets the justification attribute of a field, and field_just returns a field's justification attribute. That's the whole vibe. π
The attribute may be one of these four, no cap:
NO_JUSTIFICATIONJUSTIFY_RIGHTJUSTIFY_LEFTJUSTIFY_CENTER
That's the lineup. Those are the values, periodt.
π RETURN VALUE
The function field_just returns one of:
NO_JUSTIFICATIONJUSTIFY_RIGHTJUSTIFY_LEFTJUSTIFY_CENTER
The function set_field_just returns one of the following:
E_OKβ the routine succeeded. Slay.E_SYSTEM_ERRORβ system error occurred (seeerrno(3)). πE_BAD_ARGUMENTβ routine detected an incorrect or out-of-range argument. Not the vibe. π
π PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions. So if you're time-traveling to those versions, bestie, this is not the moment. π«Ά
π AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
π₯ SEE ALSO
curses(3X) and related pages whose names begin βform_β for detailed descriptions of the entry points. Go browse the form_ family, iykyk. π¦
This iconic page is from ncurses 6.5, dated 2024-03-16. Mwah. ππβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright 2018-2023,2024 Thomas E. Dickey
- Copyright 1998-2010,2015 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms