Lines Matching refs:process
47 globals->process = NULL; in tsrm_win32_ctor()
68 if (globals->process) { in tsrm_win32_dtor()
69 free(globals->process); in tsrm_win32_dtor()
380 for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) { in process_get()
386 if (ptr < (TWG(process) + TWG(process_size))) { in process_get()
390 newptr = (process_pair*)realloc((void*)TWG(process), (TWG(process_size)+1)*sizeof(process_pair)); in process_get()
395 TWG(process) = newptr; in process_get()
453 PROCESS_INFORMATION process; in popen_ex() local
516 memset(&process, 0, sizeof(PROCESS_INFORMATION)); in popen_ex()
563 …mdw, &security, &security, security.bInheritHandle, dwCreateFlags, envw, cwdw, &startup, &process); in popen_ex()
566 …mdw, &security, &security, security.bInheritHandle, dwCreateFlags, envw, cwdw, &startup, &process); in popen_ex()
577 CloseHandle(process.hThread); in popen_ex()
589 proc->prochnd = process.hProcess; in popen_ex()
597 process_pair *process; in pclose() local
599 if ((process = process_get(stream)) == NULL) { in pclose()
603 fflush(process->stream); in pclose()
604 fclose(process->stream); in pclose()
606 WaitForSingleObject(process->prochnd, INFINITE); in pclose()
607 GetExitCodeProcess(process->prochnd, &termstat); in pclose()
608 process->stream = NULL; in pclose()
609 CloseHandle(process->prochnd); in pclose()