Lines Matching refs:ret_val
84 int ret_val; in cmd_execute_command() local
159 ret_val = 0; in cmd_execute_command()
160 return (ret_val); in cmd_execute_command()
184 char *ret_val; in cmd_execute_command_and_retrieve_string() local
257 ret_val = cmd_retrieve_string(output[0], &err); in cmd_execute_command_and_retrieve_string()
266 ret_val = cmd_retrieve_string(output[0], &err); in cmd_execute_command_and_retrieve_string()
271 return (ret_val); in cmd_execute_command_and_retrieve_string()
292 char *ret_val; in cmd_retrieve_string() local
305 ret_val = (char *)calloc((size_t)1, (size_t)sizeof (char)); in cmd_retrieve_string()
306 ret_val[0] = '\0'; in cmd_retrieve_string()
364 (char *)calloc((size_t)(len+strlen(ret_val)+1), in cmd_retrieve_string()
381 strlen(ret_val) + 1), "%s%s", in cmd_retrieve_string()
382 ret_val, buffer); in cmd_retrieve_string()
384 (void) free(ret_val); in cmd_retrieve_string()
385 ret_val = strdup(tmp_string); in cmd_retrieve_string()
387 if (ret_val == NULL) { in cmd_retrieve_string()
401 return (ret_val); in cmd_retrieve_string()