home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
librar
/
sfout.c
< prev
next >
Wrap
Text File
|
1989-02-08
|
551b
|
23 lines
/*--------------------------------------*/
/* */
/* SFOUT(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 sfout(fd,a,b)
int a,b;
FILE *fd;
{
int j,d;
d=scram(a);
for (j=0;j<b;j++)
putc(d,fd);
}