home *** CD-ROM | disk | FTP | other *** search
- /*--------------------------------------*/
- /* */
- /* RIGHT_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. The */
- /* fourth argument is the length of the */
- /* third argument. */
- /* */
- /*--------------------------------------*/
- void right_str(a,b,c,d)
- char a[],c[];
- int b,d;
- {
- int j;
- for (j=0;j<b;j++)
- a[j]=c[d-b+j];
- }