메뉴 건너뛰기


Developer > Application

Chapter 6: Process Management

SubjectWindowsUNIXC LibraryComments
Process MgtCreateProcessfork (); execl ()*, system()N/AThere are 6 execxx functions
Process MgtExitProcess_exitexit 
Process MgtGetCommandLineargv []argv [] 
Process MgtGetCurrentProcessgetpid*N/A 
Process MgtGetCurrentProcessIdgetpid*N/A 
Process MgtGetEnvironmentStringsN/Agetenv 
Process MgtGetEnvironmentVariableN/Agetenv 
Process MgtGetExitCodeProcesswait, waitpidN/A 
Process MgtGetProcessTimestimes, wait3, wait4N/A 
Process MgtGetProcessWorkingSetSizewait3, wait4N/A 
Process MgtN/Aexecl*, execv*, execle*, execve*, execlp*, execvp*N/AWindows does not have a direct equivalent
Process MgtN/Afork, vforkN/AWindows does not have a direct equivalent
Process MgtN/AgetppidN/ANo parent/child relationships in Windows
Process MgtN/Agetgid, getegidN/ANo process groups in Windows
Process MgtN/AgetpgrpN/A 
Process MgtN/AsetpgidN/A 
Process MgtN/AsetsidN/A 
Process MgtN/AtcgetpgrpN/A 
Process MgtN/AtcsetpgrpN/A 
Process MgtOpenProcessN/AN/A 
Process MgtSetEnvironmentVariableputenvN/Aputenv is not part of the Standard C library
Process MgtTerminateProcesskillN/A 
Synch: ProcessWaitForMultipleObjects (process handles)waitpidN/A 
Synch: ProcessWaitForSingleObject (process handle)wait, waitpidN/A 
TimersKillTimeralarm (0)N/A 
TimersSetTimeralarmN/A 
TimersSleepsleepN/A 
TimersSleeppoll or select, no file descriptorN/A