home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
cnews.tar
/
libstdio
/
fputs.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-07
|
161b
|
13 lines
#include <stdio.h>
fputs(s, fp)
register char *s;
register FILE *fp;
{
unsigned len = strlen(s);
if (fwrite(s, 1, len, fp) < len)
return EOF;
return 0;
}