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()
183 ps_buffer = argv[0]; in save_ps_args()
184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args()
226 new_argv[i] = strdup(argv[i]); in save_ps_args()
242 argv = new_argv; in save_ps_args()
261 return argv; in save_ps_args()
273 return argv; in save_ps_args()
431 void cleanup_ps_args(char **argv) in cleanup_ps_args() argument
455 for (i=0; argv[i] != NULL; i++) in cleanup_ps_args()
456 free(argv[i]); in cleanup_ps_args()
457 free(argv); in cleanup_ps_args()