---
name: "form_cursor"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/form_cursor"
---

# form\_cursor(3)

position a form window cursor

## NAME

**pos\_form\_cursor** - position a form window cursor

## SYNOPSIS

```
#include <form.h>
```

**int pos\_form\_cursor(FORM \****form***);**

## DESCRIPTION

**The function pos\_form\_cursor restores the cursor to the position required** **for the forms driver to continue processing requests.** **This is useful after** **curses routines have been called to do screen-painting in response to a** **form operation.**

## RETURN VALUE

**This routine returns one of the following:**

- **E\_OK**

  **The routine succeeded.**

- **E\_BAD\_ARGUMENT**

  **Routine detected an incorrect or out-of-range argument.**

- **E\_NOT\_POSTED**

  **The form has not been posted.**

- **E\_SYSTEM\_ERROR**

  **System error occurred (see [errno(3)](/errno/3.md)).**

## PORTABILITY

**These routines emulate the System V forms library.** **They were not supported on** **Version 7 or BSD versions.**

## AUTHORS

**Juergen Pfeifer.** **Manual pages and adaptation for new curses by Eric S. Raymond.**

## SEE ALSO

**curses(3X),** **form(3X)**
