home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
153_01
/
writes.c
< prev
Wrap
Text File
|
1985-03-10
|
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.
;
;*****************************************************