home *** CD-ROM | disk | FTP | other *** search
- /*--------------------------------------*/
- /* */
- /* 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;
- }