Lines Matching refs:ps_buffer
110 static char ps_buffer[MAX_PATH]; variable
113 static char *ps_buffer; /* will point to argv area */ variable
118 static char ps_buffer[PS_BUFFER_SIZE]; variable
179 ps_buffer = argv[0]; in save_ps_args()
246 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args()
251 save_argv[0] = ps_buffer; /* ps_buffer here is a static const array of size PS_BUFFER_SIZE */ in save_ps_args()
265 ps_buffer = NULL; in save_ps_args()
286 if (!ps_buffer) in is_ps_title_available()
335 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title()
336 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title()
337 ps_buffer_cur_len = strlen(ps_buffer); in set_ps_title()
340 setproctitle("%s", ps_buffer); in set_ps_title()
347 pst.pst_command = ps_buffer; in set_ps_title()
354 PS_STRINGS->ps_argvstr = ps_buffer; in set_ps_title()
361 memset(ps_buffer + ps_buffer_cur_len, PS_PADDING, in set_ps_title()
368 if (!SetConsoleTitle(ps_buffer)) in set_ps_title()
389 if (!(ps_buffer_cur_len = GetConsoleTitle(ps_buffer, ps_buffer_size))) in get_ps_title()
393 *string = ps_buffer; in get_ps_title()