Lines Matching refs:argv
141 char** save_ps_args(int argc, char** argv) in save_ps_args() argument
144 save_argv = argv; in save_ps_args()
161 if (i != 0 && end_of_area + 1 != argv[i]) in save_ps_args()
163 end_of_area = argv[i] + strlen(argv[i]); in save_ps_args()
179 ps_buffer = argv[0]; in save_ps_args()
180 ps_buffer_size = end_of_area - argv[0]; in save_ps_args()
222 new_argv[i] = strdup(argv[i]); in save_ps_args()
236 argv = new_argv; in save_ps_args()
255 return argv; in save_ps_args()
267 return argv; in save_ps_args()
404 void cleanup_ps_args(char **argv) in cleanup_ps_args() argument
428 for (i=0; argv[i] != NULL; i++) in cleanup_ps_args()
429 free(argv[i]); in cleanup_ps_args()
430 free(argv); in cleanup_ps_args()