Digital的Unix操作系统VAX 4.2源码

源代码在线查看: nl.3cur

软件大小: 51179 K
上传用户: zhuying0000
关键词: Digital Unix 4.2 VAX
下载地址: 免注册下载 普通下载 VIP

相关代码

				.TH nl 3cur 				.SH Name				nl, nonl \- enable/disable newline control				.SH Syntax				.br				.B				#include 				.PP				.br				.B				int nl(\|)				.PP				.B				int nonl(\|)				.SH Description				.NXR "nl macro"				.NXR "nonl subroutine"				The 				.PN nl				routine enables the newline control translations.				When newline control is enabled,				a newline is translated into 				a carriage return				and a linefeed on output, and a return is translated into 				a newline on				input.				Initially, these translations do occur.				.PP				The				.PN nonl				routine				disables these translations, 				allowing				the				.PN curses				program to use the				linefeed capability				of the terminal,				resulting in faster cursor motion.				The				.PN nl				routine				is a macro.				.SH Return Values				The				.PN nl				and				.PN nonl				functions return OK on success and ERR on error.							

相关资源