home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
librar
/
left_str.c
< prev
next >
Wrap
Text File
|
1989-02-08
|
512b
|
19 lines
/*--------------------------------------*/
/* */
/* LEFT_STR(X,X,X,X) */
/* */
/* Places part of a character array */
/* given the third argument into the */
/* character array given in the first */
/* argument. The second argument is the*/
/* number of bytes to transfer. */
/* */
/*--------------------------------------*/
void left_str(a,b,d)
char a[],d[];
int b;
{
int j;
for (j=0;j<b;j++)
a[j]=d[j];
}