Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsnl(3XCURSES)


NAME

 nl, nonl - enable/disable newline control

SYNOPSIS

 
#include <curses.h>
int nl(void);
 int nonl(void);

DESCRIPTION

 

The nl() function enables the handling of newlines. The nl() function converts newline into carriage return and line feed on output and converts carriage return into newline on input. nonl() disables the handling of newlines.

The handling of newlines is initially enabled. Disabling the handling of newlines results in faster cursor motion since X/Open Curses can use the line-feed capability more efficiently.

RETURN VALUES

 

On success, these functions return OK. Otherwise, they return ERR.

ERRORS

 

None.


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.