Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: July 2017
 
 

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

Thefunction 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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See Also

curses(3CURSES), forms(3CURSES), attributes(5)

Notes

The header <form.h> automatically includes the headers <eti.h> and <curses.h>.