Lines Matching refs:ret_val
82 int ret_val; in cmd_execute_command() local
157 ret_val = 0; in cmd_execute_command()
158 return (ret_val); in cmd_execute_command()
182 char *ret_val; in cmd_execute_command_and_retrieve_string() local
255 ret_val = cmd_retrieve_string(output[0], &err); in cmd_execute_command_and_retrieve_string()
264 ret_val = cmd_retrieve_string(output[0], &err); in cmd_execute_command_and_retrieve_string()
269 return (ret_val); in cmd_execute_command_and_retrieve_string()
290 char *ret_val; in cmd_retrieve_string() local
303 ret_val = (char *)calloc((size_t)1, (size_t)sizeof (char)); in cmd_retrieve_string()
304 ret_val[0] = '\0'; in cmd_retrieve_string()
362 (char *)calloc((size_t)(len+strlen(ret_val)+1), in cmd_retrieve_string()
379 strlen(ret_val) + 1), "%s%s", in cmd_retrieve_string()
380 ret_val, buffer); in cmd_retrieve_string()
382 (void) free(ret_val); in cmd_retrieve_string()
383 ret_val = strdup(tmp_string); in cmd_retrieve_string()
385 if (ret_val == NULL) { in cmd_retrieve_string()
399 return (ret_val); in cmd_retrieve_string()