home *** CD-ROM | disk | FTP | other *** search
- /*=========================================================================
-
- ATOC strins module
-
- =========================================================================*/
-
- #include <stdio.h>
- #include "atoc.h"
-
-
- /*-------------------------------------------------------------------------
- local global variables
- -------------------------------------------------------------------------*/
- PRIVATE char temp[ MAXLINELENGTH ]; /* temp buffer for end of line */
-
-
- /*-------------------------------------------------------------------------
- strins( p, s ) inserts string s into the target string at p. We assume
- there is room.
- -------------------------------------------------------------------------*/
- strins( p, s )
- char *p, *s;
- {
- strcpy( temp, p );
- strcpy( p, s );
- strcat( p, temp );
- }
- /*=======================================================================*/