home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
c
/
croutes.zip
/
WRITES.C
< prev
next >
Wrap
Text File
|
1984-06-25
|
944b
|
25 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);
}