home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
librar
/
fout.c
< prev
next >
Wrap
Text File
|
1989-02-08
|
533b
|
22 lines
/*--------------------------------------*/
/* */
/* FOUT(X,X,X) */
/* */
/* Writes output in character format to */
/* a file. The first argument is the */
/* file descripter. The second argument */
/* is the character which is to be writ-*/
/* ten. The third argument is the repet-*/
/* ition factor. */
/* */
/*--------------------------------------*/
# include "stdio.h"
void fout(fd,a,b)
int a,b;
FILE *fd;
{
int j;
for (j=0;j<b;j++)
putc(a,fd);
}