Lines Matching refs:process
46 globals->process = NULL; in tsrm_win32_ctor()
67 if (globals->process) { in tsrm_win32_dtor()
68 free(globals->process); in tsrm_win32_dtor()
377 for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) { in process_get()
383 if (ptr < (TWG(process) + TWG(process_size))) { in process_get()
387 newptr = (process_pair*)realloc((void*)TWG(process), (TWG(process_size)+1)*sizeof(process_pair)); in process_get()
392 TWG(process) = newptr; in process_get()
450 PROCESS_INFORMATION process; in popen_ex() local
513 memset(&process, 0, sizeof(PROCESS_INFORMATION)); in popen_ex()
560 …mdw, &security, &security, security.bInheritHandle, dwCreateFlags, envw, cwdw, &startup, &process); in popen_ex()
563 …mdw, &security, &security, security.bInheritHandle, dwCreateFlags, envw, cwdw, &startup, &process); in popen_ex()
574 CloseHandle(process.hThread); in popen_ex()
586 proc->prochnd = process.hProcess; in popen_ex()
594 process_pair *process; in pclose() local
596 if ((process = process_get(stream)) == NULL) { in pclose()
600 fflush(process->stream); in pclose()
601 fclose(process->stream); in pclose()
603 WaitForSingleObject(process->prochnd, INFINITE); in pclose()
604 GetExitCodeProcess(process->prochnd, &termstat); in pclose()
605 process->stream = NULL; in pclose()
606 CloseHandle(process->prochnd); in pclose()