FORM_CURSOR(3CURSES) Curses Library Functions FORM_CURSOR(3CURSES)
form_cursor, pos_form_cursor - position forms window cursor
cc [ flag... ] file... -lform -lcurses [ library... ]
#include <form.h>
int pos_form_cursor(FORM *form);
pos_form_cursor() moves the form window cursor to the location
required by the form driver to resume form processing. This may be
needed after the application calls a curses library I/O routine.
pos_form_cursor() returns one of the following:
E_OK
The function returned successfully.
E_SYSTEM_ERROR
System error.
E_BAD_ARGUMENT
An argument is incorrect.
E_NOT_POSTED
The form is not posted.
See attributes(7) for descriptions of the following attributes:
+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | Unsafe |
+---------------+-----------------+
curses(3CURSES), forms(3CURSES), attributes(7)
The header <form.h> automatically includes the headers <eti.h> and
<curses.h>.
December 31, 1996 FORM_CURSOR(3CURSES)
NAME
form_cursor, pos_form_cursor - position forms window cursor
SYNOPSIS
cc [ flag... ] file... -lform -lcurses [ library... ]
#include <form.h>
int pos_form_cursor(FORM *form);
DESCRIPTION
pos_form_cursor() moves the form window cursor to the location
required by the form driver to resume form processing. This may be
needed after the application calls a curses library I/O routine.
RETURN VALUES
pos_form_cursor() returns one of the following:
E_OK
The function returned successfully.
E_SYSTEM_ERROR
System error.
E_BAD_ARGUMENT
An argument is incorrect.
E_NOT_POSTED
The form is not posted.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | Unsafe |
+---------------+-----------------+
SEE ALSO
curses(3CURSES), forms(3CURSES), attributes(7)
NOTES
The header <form.h> automatically includes the headers <eti.h> and
<curses.h>.
December 31, 1996 FORM_CURSOR(3CURSES)