home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
librar
/
charinit.c
< prev
next >
Wrap
Text File
|
1989-02-08
|
586b
|
26 lines
/*--------------------------------------*/
/* */
/* CHARINIT(X,X,X) */
/* */
/* Functionality: */
/* Initializes a character array. */
/* Arguments: */
/* 0: The character array to be */
/* initialized. */
/* 1: The length of the array. */
/* 2: The initialization value. */
/* Returns: Nothing. */
/* Author: John Callicotte */
/* Date created/modified: 09/01/88 */
/* */
/*--------------------------------------*/
void charinit(a,b,c)
char a[],c;
int b;
{
int j;
for (j=0;j<b;j++)
a[j]=c;
}