xwrite.c

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· C语言 代码 · 共 25 行

C
25
字号
#ifndef lintstatic	char	*sccsid = "@(#)xwrite.c	4.1	(ULTRIX)	7/17/90";#endif lint# include "errno.h"/*	Interface to write which handles	all error conditions.	Returns number of bytes written on success,	returns fatal(<mesg>) on failure.*/xwrite(fildes,buffer,nbytes)char *buffer;{	register int n;	if (nbytes>0 && (n=write(fildes,buffer,nbytes))!=nbytes)		n = xmsg("","xwrite");	return(n);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?