Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix volatile manual

This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.

NAME

pos_form_cursor — form library

LIBRARY

Curses Form Library (libform, -lform)

SYNOPSIS

#include <form.h>
int
pos_form_cursor(FORM *form);

DESCRIPTION

The function pos_form_cursor() positions the screen cursor at the correct position for the form. This function can be used to restore the cursor state after using other curses routines.

RETURN VALUES

pos_form_cursor() will return one of the following error values:
E_OK
The function was successful.
E_BAD_ARGUMENT
A bad argument was passed to the function.
E_NOT_POSTED
The form is not posted to the screen.

SEE ALSO

curses(3), forms(3)

NOTES

The header <form.h> automatically includes both <curses.h> and <eti.h>.
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org