Lines Matching refs:argv
145 char** save_ps_args(int argc, char** argv) in save_ps_args() argument
148 save_argv = argv; in save_ps_args()
165 if (i != 0 && end_of_area + 1 != argv[i]) in save_ps_args()
167 end_of_area = argv[i] + strlen(argv[i]); in save_ps_args()
184 ps_buffer = argv[0]; in save_ps_args()
185 ps_buffer_size = end_of_area - argv[0]; in save_ps_args()
227 new_argv[i] = strdup(argv[i]); in save_ps_args()
243 argv = new_argv; in save_ps_args()
262 return argv; in save_ps_args()
274 return argv; in save_ps_args()
432 void cleanup_ps_args(char **argv) in cleanup_ps_args() argument
456 for (i=0; argv[i] != NULL; i++) in cleanup_ps_args()
457 free(argv[i]); in cleanup_ps_args()
458 free(argv); in cleanup_ps_args()