Lines Matching defs:string
30 #include <string.h>
82 * Macros to produce a quoted string containing the value of a preprocessor
193 char *add_to_usage(char ** usagep, char *string);
194 char *add_to_usage_fmt(char **usagep, char *fmt, char *string);
278 * Return a string describing this module.
402 * rcm_info_t **infop ptr to info string
539 * rcm_info_t **infop ptr to info string
604 * rcm_info_t **infop ptr to info string
606 * char **infop pass back info string
642 *usagep = NULL; /* Initialise usage string */
749 * rcm_info_t **infop ptr to info string
814 * rcm_info_t **infop ptr to info string
884 * rcm_info_t **infop ptr to info string
2334 * A rotating hashing function that converts a string 's' to an index
2339 * char *s string to be hashed
2471 * Add string to the usage string pointed at by usagep. Allocate memory
2472 * for the new usage string and free the memory used by the original
2473 * usage string
2476 * char **usagep ptr to usage string
2477 * char *string string to be added to usage
2479 * char ptr to new usage string
2483 add_to_usage(char ** usagep, char *string)
2493 len += strlen(string) + 1;
2500 (void) strcat(new_usage, string);
2508 * Add a formatted string , of the form "blah %s" to the usage string
2509 * pointed at by usagep. Allocate memory for the new usage string and free
2510 * the memory used by the original usage string.
2513 * char **usagep ptr to current usage string
2514 * char *fmt format string
2515 * char *string string to be added
2517 * char* new usage string
2522 add_to_usage_fmt(char **usagep, char *fmt, char *string)
2529 + strlen(string) + 1;
2531 (void) sprintf(usage, fmt, string);