home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource3
/
153_01
/
writes.c
< prev
Wrap
Text File
|
1985-03-11
|
1KB
|
27 lines
/* *** writes.c *** */
/* */
/* IBM - PC microsoft "C" */
/* */
/* Function to write a string to stdout. */
/* Returns the number of characters written including the NULL. */
/* */
/* written by L. Cuthbertson, March 1984. */
/* */
/*********************************************************************/
/* */
#define NULL '\000'
int writes(s)
char s[];
{
int i,writec();
for (i=0;(s[i] != NULL);i++)
writec(s[i]);
return (i);
}
; Ref Manual.
;
;*****************************************************