CPGuide - Control Program Functions: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 93: | Line 93: | ||
|[[DosQueryCurrentDir]]||[[DosQueryPathInfo]] | |[[DosQueryCurrentDir]]||[[DosQueryPathInfo]] | ||
|- | |- | ||
|DosQueryCurrentDisk||DosQueryHType | |[[DosQueryCurrentDisk]]||[[DosQueryHType]] | ||
|- | |- | ||
|DosQueryFHState||DosQueryVerify | |[[DosQueryFHState]]||[[DosQueryVerify]] | ||
|- | |- | ||
!colspan=2|Settings | !colspan=2|Settings | ||
Line 113: | Line 113: | ||
|[[DosFSAttach]]||[[DosQueryFSAttach]] | |[[DosFSAttach]]||[[DosQueryFSAttach]] | ||
|- | |- | ||
|[[ | |[[DosFSCtl]]l||[[DosQueryFSInfo]] | ||
|- | |- | ||
|[[DosPhysicalDisk]]||[[DosSetFSInfo]] | |[[DosPhysicalDisk]]||[[DosSetFSInfo]] | ||
Line 183: | Line 183: | ||
|[[DosGetInfoBlocks]]||[[DosSuspendThread]] | |[[DosGetInfoBlocks]]||[[DosSuspendThread]] | ||
|- | |- | ||
|DosKillProcess||DosWaitChild | |[[DosKillProcess]]||[[DosWaitChild]] | ||
|- | |- | ||
|DosKillThread||DosWaitThread | |[[DosKillThread]]||[[DosWaitThread]] | ||
|- | |- | ||
|DosResumeThread||DosQueryThreadContext | |[[DosResumeThread]]||[[DosQueryThreadContext]] | ||
|- | |- | ||
!colspan=2|Query System Information | !colspan=2|Query System Information | ||
|- | |- | ||
|DosQuerySysInfo||DosScanEnv | |[[DosQuerySysInfo]]||[[DosScanEnv]] | ||
|- | |- | ||
!colspan=2|Queues | !colspan=2|Queues | ||
|- | |- | ||
|DosCloseQueue||DosPurgeQueue | |[[DosCloseQueue]]||[[DosPurgeQueue]] | ||
|- | |- | ||
|DosCreateQueue||DosQueryQueue | |[[DosCreateQueue]]||[[DosQueryQueue]] | ||
|- | |- | ||
|DosOpenQueue||DosReadQueue | |[[DosOpenQueue]]||[[DosReadQueue]] | ||
|- | |- | ||
|DosPeekQueue||DosWriteQueue | |[[DosPeekQueue]]||[[DosWriteQueue]] | ||
|- | |- | ||
!colspan=2|Resource Objects | !colspan=2|Resource Objects | ||
|- | |- | ||
|DosFreeResource||DosQueryResourceSize | |[[DosFreeResource]]||[[DosQueryResourceSize]] | ||
|- | |- | ||
|DosGetResource | |[[DosGetResource]] | ||
|- | |- | ||
!colspan=2|Semaphores | !colspan=2|Semaphores | ||
Line 213: | Line 213: | ||
!colspan=2|Event Semaphores | !colspan=2|Event Semaphores | ||
|- | |- | ||
|DosCloseEventSem||DosQueryEventSem | |[[DosCloseEventSem]]||[[DosQueryEventSem]] | ||
|- | |- | ||
|DosCreateEventSem||DosResetEventSem | |[[DosCreateEventSem]]||[[DosResetEventSem]] | ||
|- | |- | ||
|DosOpenEventSem||DosWaitEventSem | |[[DosOpenEventSem]]||[[DosWaitEventSem]] | ||
|- | |- | ||
|DosPostEventSem | |[[DosPostEventSem]] | ||
|- | |- | ||
!colspan=2|Mutex Semaphores | !colspan=2|Mutex Semaphores | ||
|- | |- | ||
|DosCloseMutexSem||DosQueryMutexSem | |[[DosCloseMutexSem]]||[[DosQueryMutexSem]] | ||
|- | |- | ||
|DosCreateMutexSem||DosReleaseMutexSem | |[[DosCreateMutexSem]]||[[DosReleaseMutexSem]] | ||
|- | |- | ||
|DosOpenMutexSem||DosRequestMutexSem | |[[DosOpenMutexSem]]||[[DosRequestMutexSem]] | ||
|- | |- | ||
!colspan=2|Muxwait Semaphores | !colspan=2|Muxwait Semaphores |
Latest revision as of 21:02, 2 October 2020
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation
This chapter contains an alphabetic list of the Control Program functions available in the OS/2 operating system. These functions can be used in full-screen, windowed (VIO), and Presentation Manager sessions to perform basic operating-system functions, such as file input and output, memory allocation, thread control and communication, process control and communication, pipe and queue manipulation, and exception and error handling.
The following table lists the available functions.