Lines Matching refs:string
29 #include <string.h>
43 * For now, just three routines: one to allocate a string in shared
52 * Allocates space for a new string of the same length as
53 * the supplied string "str". Copies the old string into
54 * the new string and returns a pointer to the new string.
55 * Returns NULL if memory allocation for the new string fails.
82 /* quit if at end of source string */
89 /* set end of dst string to \0 */
106 /* find the end of the current destination string */
112 /* append the source string to the destination string */
121 /* set end of dst string to \0 */