CPGuide - Control Program Functions: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
!colspan=2|Date and Time | !colspan=2|Date and Time | ||
|- | |- | ||
|DosGetDateTime||DosSetDateTime | |[[DosGetDateTime]]||[[DosSetDateTime]] | ||
|- | |- | ||
!colspan=2|Debugging | !colspan=2|Debugging | ||
|- | |- | ||
|DosDebug | |[[DosDebug]] | ||
|- | |- | ||
!colspan=2|Device Handling | !colspan=2|Device Handling | ||
|- | |- | ||
|DosCloseVDD||DosOpenVDD | |[[DosCloseVDD]]||[[DosOpenVDD]] | ||
|- | |- | ||
|DosDevConfig||DosRequestVDD | |DosDevConfig||DosRequestVDD | ||
Line 231: | Line 231: | ||
!colspan=2|Muxwait Semaphores | !colspan=2|Muxwait Semaphores | ||
|- | |- | ||
|DosAddMuxWaitSem||DosOpenMuxWaitSem | |[[DosAddMuxWaitSem]]||[[DosOpenMuxWaitSem]] | ||
|- | |- | ||
|DosCloseMuxWaitSem||DosQueryMuxWaitSem | |[[DosCloseMuxWaitSem]]||[[DosQueryMuxWaitSem]] | ||
|- | |- | ||
|DosCreateMuxWaitSem||DosWaitMuxWaitSem | |[[DosCreateMuxWaitSem]]||[[DosWaitMuxWaitSem]] | ||
|- | |- | ||
|DosDeleteMuxWaitSem | |[[DosDeleteMuxWaitSem]] | ||
|- | |- | ||
!colspan=2|Timers | !colspan=2|Timers | ||
|- | |- | ||
|DosAsyncTimer||DosStopTimer | |[[DosAsyncTimer]]||[[DosStopTimer]] | ||
|- | |- | ||
|DosStartTimer | |[[DosStartTimer]] | ||
|} | |} | ||
[[Category:CPGuide]] |
Revision as of 03:56, 3 March 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.
Date and Time | |
---|---|
DosGetDateTime | DosSetDateTime |
Debugging | |
DosDebug | |
Device Handling | |
DosCloseVDD | DosOpenVDD |
DosDevConfig | DosRequestVDD |
DosDevIOCtl | DosTmrQueryFreq |
DosTmrQueryTime | |
Dynamic Link Modules | |
DosFreeModule | DosQueryModuleName |
DosLoadModule | DosQueryProcAddr |
DosQueryModuleHandle | DosQueryProcType |
Error Processing | |
DosErrClass | DosError |
Exceptions | |
DosAcknowledgeSignalException | DosSetExceptionHandler |
DosEnterMustComplete | DosSetSignalExceptionFocus |
DosExitMustComplete | DosUnsetExceptionHandler |
DosRaiseException | DosUnwindException |
DosSendSignalException | |
Extended Attributes | |
DosEnumAttribute | DosProtectEnumAttribute |
File Management - File Locking | |
DosCancelLockRequest | DosProtectSetFHState |
DosProtectClose | DosProtectSetFileInfo |
DosProtectOpen | DosProtectSetFileLocks |
DosProtectQueryFileInfo | DosProtectSetFilePtr |
DosProtectRead | DosProtectSetFileSize |
DosProtectQueryFHState | DosProtectWrite |
File Management | |
General | |
DosClose | DosFindNext |
DosCopy | DosForceDelete |
DosCreateDir | DosMove |
DosDeleteDir | DosOpen |
DosDelete | DosRead |
DosDupHandle | DosSearchPath |
DosEditName | DosSetMaxFH |
DosFindClose | DosSetVerify |
DosFindFirst | DosWrite |
Queries | |
DosQueryAppType | DosQueryFileInfo |
DosQueryCurrentDir | DosQueryPathInfo |
DosQueryCurrentDisk | DosQueryHType |
DosQueryFHState | DosQueryVerify |
Settings | |
DosResetBuffer | DosSetFileLocks |
DosSetCurrentDir | DosSetFilePtr |
DosSetDefaultDisk | DosSetFileSize |
DosSetFHState | DosSetPathInfo |
DosSetFileInfo | DosSetRelMaxFH |
File Systems | |
DosFSAttach | DosQueryFSAttach |
DosFSCtl | DosQueryFSInfo |
DosPhysicalDisk | DosSetFSInfo |
General | |
DosBeep | DosShutdown |
Memory Management | |
DosAllocMem | DosGiveSharedMem |
DosAllocSharedMem | DosQueryMem |
DosAllocThreadLocalMemory | DosSetMem |
DosFreeMem | DosSubAllocMem |
DosFreeThreadLocalMemory | DosSubFreeMem |
DosGetNamedSharedMem | DosSubSetMem |
DosGetSharedMem | DosSubUnsetMem |
Message Management | |
DosGetMessage | DosPutMessage |
DosInsertMessage | DosQueryMessageCP |
National Language Support | |
DosMapCase | DosQueryCtryInfo |
DosQueryCollate | DosQueryDBCSEnv |
DosQueryCp | DosSetProcessCp |
Pipes | |
DosCallNPipe | DosQueryNPipeSemState |
DosConnectNPipe | DosQueryNPHState |
DosCreatePipe | DosSetNPHState |
DosCreateNPipe | DosSetNPipeSem |
DosDisConnectNPipe | DosTransactNPipe |
DosPeekNPipe | DosWaitNPipe |
DosQueryNPipeInfo | |
Processes, Threads and Sessions | |
DosCreateThread | DosSelectSession |
DosEnterCritSec | DosSetPriority |
DosExecPgm | DosSetSession |
DosExitCritSec | DosSleep |
DosExit | DosStartSession |
DosExitList | DosStopSession |
DosGetInfoBlocks | DosSuspendThread |
DosKillProcess | DosWaitChild |
DosKillThread | DosWaitThread |
DosResumeThread | DosQueryThreadContext |
Query System Information | |
DosQuerySysInfo | DosScanEnv |
Queues | |
DosCloseQueue | DosPurgeQueue |
DosCreateQueue | DosQueryQueue |
DosOpenQueue | DosReadQueue |
DosPeekQueue | DosWriteQueue |
Resource Objects | |
DosFreeResource | DosQueryResourceSize |
DosGetResource | |
Semaphores | |
Event Semaphores | |
DosCloseEventSem | DosQueryEventSem |
DosCreateEventSem | DosResetEventSem |
DosOpenEventSem | DosWaitEventSem |
DosPostEventSem | |
Mutex Semaphores | |
DosCloseMutexSem | DosQueryMutexSem |
DosCreateMutexSem | DosReleaseMutexSem |
DosOpenMutexSem | DosRequestMutexSem |
Muxwait Semaphores | |
DosAddMuxWaitSem | DosOpenMuxWaitSem |
DosCloseMuxWaitSem | DosQueryMuxWaitSem |
DosCreateMuxWaitSem | DosWaitMuxWaitSem |
DosDeleteMuxWaitSem | |
Timers | |
DosAsyncTimer | DosStopTimer |
DosStartTimer |