CPGuide - Control Program Functions: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 99: | Line 99: | ||
!colspan=2|Settings | !colspan=2|Settings | ||
|- | |- | ||
|DosResetBuffer||DosSetFileLocks | |[[DosResetBuffer]]||[[DosSetFileLocks]] | ||
|- | |- | ||
|DosSetCurrentDir||DosSetFilePtr | |[[DosSetCurrentDir]]||[[DosSetFilePtr]] | ||
|- | |- | ||
|DosSetDefaultDisk||DosSetFileSize | |[[DosSetDefaultDisk]]||[[DosSetFileSize]] | ||
|- | |- | ||
|DosSetFHState||DosSetPathInfo | |[[DosSetFHState]]||[[DosSetPathInfo]] | ||
|- | |- | ||
|DosSetFileInfo||DosSetRelMaxFH | |[[DosSetFileInfo]]||[[DosSetRelMaxFH]] | ||
|- | |- | ||
!colspan=2|File Systems | !colspan=2|File Systems | ||
|- | |- | ||
|DosFSAttach||DosQueryFSAttach | |[[DosFSAttach]]||[[DosQueryFSAttach]] | ||
|- | |- | ||
| | |[[DosFSCt]]l||[[DosQueryFSInfo]] | ||
|- | |- | ||
|DosPhysicalDisk||DosSetFSInfo | |[[DosPhysicalDisk]]||[[DosSetFSInfo]] | ||
|- | |- | ||
!colspan=2|General | !colspan=2|General | ||
|- | |- | ||
|DosBeep||DosShutdown | |[[DosBeep]]||[[DosShutdown]] | ||
|- | |- | ||
!colspan=2|Memory Management | !colspan=2|Memory Management | ||
|- | |- | ||
|DosAllocMem||DosGiveSharedMem | |[[DosAllocMem]]||[[DosGiveSharedMem]] | ||
|- | |- | ||
|DosAllocSharedMem||DosQueryMem | |[[DosAllocSharedMem]]||[[DosQueryMem]] | ||
|- | |- | ||
|DosAllocThreadLocalMemory||DosSetMem | |[[DosAllocThreadLocalMemory]]||[[DosSetMem]] | ||
|- | |- | ||
|DosFreeMem||DosSubAllocMem | |[[DosFreeMem]]||[[DosSubAllocMem]] | ||
|- | |- | ||
|DosFreeThreadLocalMemory||DosSubFreeMem | |[[DosFreeThreadLocalMemory]]||[[DosSubFreeMem]] | ||
|- | |- | ||
|DosGetNamedSharedMem||DosSubSetMem | |[[DosGetNamedSharedMem]]||[[DosSubSetMem]] | ||
|- | |- | ||
|DosGetSharedMem||DosSubUnsetMem | |[[DosGetSharedMem]]||[[DosSubUnsetMem]] | ||
|- | |- | ||
!colspan=2|Message Management | !colspan=2|Message Management | ||
|- | |- | ||
|DosGetMessage||DosPutMessage | |[[DosGetMessage]]||[[DosPutMessage]] | ||
|- | |- | ||
|DosInsertMessage||DosQueryMessageCP | |[[DosInsertMessage]]||[[DosQueryMessageCP]] | ||
|- | |- | ||
!colspan=2|National Language Support | !colspan=2|National Language Support | ||
|- | |- | ||
|DosMapCase||DosQueryCtryInfo | |[[DosMapCase]]||[[DosQueryCtryInfo]] | ||
|- | |- | ||
|DosQueryCollate||DosQueryDBCSEnv | |[[DosQueryCollate]]||[[DosQueryDBCSEnv]] | ||
|- | |- | ||
|DosQueryCp||DosSetProcessCp | |[[DosQueryCp]]||[[DosSetProcessCp]] | ||
|- | |- | ||
!colspan=2|Pipes | !colspan=2|Pipes | ||
|- | |- | ||
|DosCallNPipe||DosQueryNPipeSemState | |[[DosCallNPipe]]||[[DosQueryNPipeSemState]] | ||
|- | |- | ||
|DosConnectNPipe||DosQueryNPHState | |[[DosConnectNPipe]]||[[DosQueryNPHState]] | ||
|- | |- | ||
|DosCreatePipe||DosSetNPHState | |[[DosCreatePipe]]||[[DosSetNPHState]] | ||
|- | |- | ||
|DosCreateNPipe||DosSetNPipeSem | |[[DosCreateNPipe]]||[[DosSetNPipeSem]] | ||
|- | |- | ||
|DosDisConnectNPipe||DosTransactNPipe | |[[DosDisConnectNPipe]]||[[DosTransactNPipe]] | ||
|- | |- | ||
|DosPeekNPipe||DosWaitNPipe | |[[DosPeekNPipe]]||[[DosWaitNPipe]] | ||
|- | |- | ||
|DosQueryNPipeInfo | |[[DosQueryNPipeInfo]] | ||
|- | |- | ||
!colspan=2|Processes, Threads and Sessions | !colspan=2|Processes, Threads and Sessions | ||
|- | |- | ||
|DosCreateThread||DosSelectSession | |[[DosCreateThread]]||[[DosSelectSession]] | ||
|- | |- | ||
|DosEnterCritSec||DosSetPriority | |[[DosEnterCritSec]]||[[DosSetPriority]] | ||
|- | |- | ||
|DosExecPgm||DosSetSession | |[[DosExecPgm]]||[[DosSetSession]] | ||
|- | |- | ||
|DosExitCritSec||DosSleep | |[[DosExitCritSec]]||[[DosSleep]] | ||
|- | |- | ||
|DosExit||DosStartSession | |[[DosExit]]||[[DosStartSession]] | ||
|- | |- | ||
|DosExitList||DosStopSession | |[[DosExitList]]||[[DosStopSession]] | ||
|- | |- | ||
|DosGetInfoBlocks||DosSuspendThread | |[[DosGetInfoBlocks]]||[[DosSuspendThread]] | ||
|- | |- | ||
|DosKillProcess||DosWaitChild | |DosKillProcess||DosWaitChild |
Revision as of 20:01, 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.