X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_field_buffer.3x.html;h=de56787b95f32ba0162794d787b48acaf9a96239;hb=HEAD;hp=8cd7bfab20a2017aac21ea07726f441df11590dd;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d;p=ncurses.git diff --git a/doc/html/man/form_field_buffer.3x.html b/doc/html/man/form_field_buffer.3x.html index 8cd7bfab..47d6c8b3 100644 --- a/doc/html/man/form_field_buffer.3x.html +++ b/doc/html/man/form_field_buffer.3x.html @@ -1,7 +1,7 @@ -
--form_field_buffer(3x) form_field_buffer(3x) +form_field_buffer(3x) Library calls form_field_buffer(3x) @@ -53,11 +53,13 @@
#include <form.h> - int set_field_buffer(FIELD *field, int buf, const char *value); - char *field_buffer(const FIELD *field, int buffer); - int set_field_status(FIELD *field, bool status); - bool field_status(const FIELD *field); - int set_max_field(FIELD *field, int max); + int set_field_buffer(FIELD *field, int buf, const char *value); + char *field_buffer(const FIELD *field, int buffer); + + int set_field_status(FIELD *field, bool status); + bool field_status(const FIELD *field); + + int set_max_field(FIELD *field, int max);
@@ -67,8 +69,8 @@ o Buffer 0 is the displayed value of the field. o Other numbered buffers may be allocated by applications through - the nbuf argument of (see form_field_new(3x)) but are not manip- - ulated by the forms library. + the nbuf argument of (see form_field_new(3x)) but are not + manipulated by the forms library. The function field_buffer returns a pointer to the contents of the given numbered buffer: @@ -102,8 +104,8 @@
- The field_buffer function returns NULL on error. It sets errno accord- - ing to their success: + The field_buffer function returns NULL on error. It sets errno + according to their success: E_OK The routine succeeded. @@ -123,26 +125,19 @@ Routine detected an incorrect or out-of-range argument. -
- curses(3x) and related pages whose names begin "form_" for detailed - descriptions of the entry points. - -
- The header file <form.h> automatically includes the header file - - When configured for wide characters, field_buffer returns a pointer to - temporary storage (allocated and freed by the library). The applica- - tion should not attempt to modify the data. It will be freed on the - next call to field_buffer to return the same buffer. <curses.h>. + When configured for wide characters, field_buffer returns a pointer to + temporary storage (allocated and freed by the library). The + application should not attempt to modify the data. It will be freed on + the next call to field_buffer to return the same buffer.
- These routines emulate the System V forms library. They were not sup- - ported on Version 7 or BSD versions. + These routines emulate the System V forms library. They were not + supported on Version 7 or BSD versions. - The set_max_field function checks for an ncurses extension - O_INPUT_FIELD which allows a dynamic field to shrink if the new limit + The set_max_field function checks for an ncurses extension + O_INPUT_FIELD which allows a dynamic field to shrink if the new limit is smaller than the current field size. @@ -151,8 +146,13 @@ Raymond. +
+ curses(3x) and related pages whose names begin "form_" for detailed + descriptions of the entry points. + - form_field_buffer(3x) + +ncurses 6.5 2024-03-16 form_field_buffer(3x)