nl, nonl [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
nl, nonl
The nl and nonl routines are used to enable and disable newline control.
Syntax
#include <curses.h>
int nl();
int nonl();
Return Values
OK Successful completion.
ERR An error occurred.
Description
The nl() routine enables the handling of newlines. The nl() routine
converts newline into carriage return and line feed on output and
converts carriage return into newline on input. The nonl() routine
disables the handling of newlines.
The handling of newlines is initially enabled. Disabling the handling of
newlines results in faster cursor motion since CURSES can use the
line-feed capability more efficiently.
Implementation Considerations
Identical to XPG/3
Portability
HP-UX, UNIX System V, XPG/3
MPE/iX 5.0 Documentation