Lines Matching refs:ret_str
324 char *ptr, *ret_str, *end_ptr, *orig_ptr; in get_bootadm_value() local
359 ret_str = calloc(len + 1, 1); in get_bootadm_value()
360 if (ret_str == NULL) { in get_bootadm_value()
364 (void) strncpy(ret_str, ptr, len); in get_bootadm_value()
365 return (ret_str); in get_bootadm_value()
367 ret_str = strdup(output); in get_bootadm_value()
368 if (ret_str == NULL) in get_bootadm_value()
370 return (ret_str); in get_bootadm_value()
408 ret_str = strdup(orig_ptr); in get_bootadm_value()
409 if (ret_str == NULL) in get_bootadm_value()
411 return (ret_str); in get_bootadm_value()