# _CP_footing

_CP_footing is equivalent to the `footing *string*` BASIC statement.

## Syntax

```
int _CP_footing(CPSTR* string)
```
This function returns -1 if an error occurs. The error
code is contained in _CP_errno.

Note: Heading
and footing only work properly if all output is done through _CP_ calls.

## Example(s)

```
/* Sets the footing to "footing". */
CPSTR * s = _CP_mkstr("footing");
_CP_footing(s);
```

## See also

- [C functions overview](https://d3codex.com/cfunctions/c-functions-overview/)

---
Source: https://d3codex.com/cfunctions/cp-footing/ - part of the D3Codex reference.
