CPI Functions Analysis and Comparison (OS2Linux / 2Ine): Difference between revisions
Jump to navigation
Jump to search
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This is a light check of what functions of Control Program Interface does the OS2Linux projects has implemented. | This is a light check of what functions of Control Program Interface does the OS2Linux projects has implemented. | ||
It was not tested so we can not know for sure if the 100% of the functionality is implemented. | It was not tested so we can not know for sure if the 100% of the functionality is implemented. | ||
==Legend== | |||
On the "Available" column you have the follow list: | |||
* '''Yes :''' That can not mean that is full complete, but an implementation is availableon OS2Linux | |||
* '''unsupported:''' Which means that OS2Linux has it implemented but gives an Error response. | |||
* '''No:''' Means that OS2Linux does not have it, not even an ERROR reponse for it. | |||
=== Date/Time === | === Date/Time === | ||
Line 39: | Line 45: | ||
|VioDeRegister|| No || | |VioDeRegister|| No || | ||
|- | |- | ||
|VioGetBuf|| | |VioGetBuf|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioGetCurPos|| Yes ||rowspan=2| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | |VioGetCurPos|| Yes ||rowspan=2| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
Line 45: | Line 51: | ||
|VioSetCurPos|| Yes | |VioSetCurPos|| Yes | ||
|- | |- | ||
|VioGetCurType|| | |VioGetCurType|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioSetCurType|| | |VioSetCurType|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioGetMode|| | |VioGetMode|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioSetMode|| | |VioSetMode|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioGetPhysBuf|| No || | |VioGetPhysBuf|| No || | ||
|- | |- | ||
|VioReadCellStr|| | |VioReadCellStr|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioReadCharStr|| | |VioReadCharStr|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioWrtCellStr|| No || | |VioWrtCellStr|| No || | ||
Line 63: | Line 69: | ||
|VioWrtCharStr|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | |VioWrtCharStr|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioScrollDn|| | |VioScrollDn|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioScrollUp|| | |VioScrollUp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioScrollLf|| | |VioScrollLf|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioScrollRt|| | |VioScrollRt|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioWrtNAttr|| | |VioWrtNAttr|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioWrtNCell|| | |VioWrtNCell|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioWrtNChar || Yes | | |VioWrtNChar || Yes ||[https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioWrtTTY|| Yes | |VioWrtTTY|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioWrtCharStrAtt|| | |VioWrtCharStrAtt|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioCheckCharType|| No || | |VioCheckCharType|| No || | ||
|- | |- | ||
|VioShowBuf|| | |VioShowBuf|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioSetAnsi|| | |VioSetAnsi|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioGetAnsi|| | |VioGetAnsi|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioPrtSc|| No || | |VioPrtSc|| No || | ||
Line 95: | Line 101: | ||
|VioRedrawSize|| No || | |VioRedrawSize|| No || | ||
|- | |- | ||
|VioSavRedrawWait|| | |VioSavRedrawWait|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioSavRedrawUndo|| | |VioSavRedrawUndo|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioModeWait|| | |VioModeWait|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioModeUndo|| | |VioModeUndo|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
| | |VioScrUnLock|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
| | |VioPopUp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
| | |VioEndPopUp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
| | |VioGetConfig|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |||
|- | |- | ||
|VioSetFont|| No || | |VioSetFont|| No || | ||
|- | |- | ||
|VioGetCp|| | |VioGetCp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioSetCp|| | |VioSetCp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioGetState|| | |VioGetState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|- | |- | ||
|VioSetState|| | |VioSetState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] | ||
|} | |} | ||
Line 430: | Line 432: | ||
==== File Handle Manipulation ==== | ==== File Handle Manipulation ==== | ||
{| class="wikitable sortable" | |||
|- | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
|DosDupHandle|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosQueryFHState|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosProtectQueryFHState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosQueryHType|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosResetBuffer|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosSetFHState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosProtectSetFHState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosSetMaxFH || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | |||
|- | |||
|DosSetMaxFH || No || | |||
|- | |||
|} | |||
==== File Querying ==== | ==== File Querying ==== | ||
* DosEnumAttribute | * DosEnumAttribute | ||
Line 457: | Line 474: | ||
=== Memory Management === | === Memory Management === | ||
{| class="wikitable sortable" | |||
|- | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
|DosAllocMem|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosFreeMem|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosQueryMem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosSetMem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|} | |||
==== Heap Memory ==== | ==== Heap Memory ==== | ||
{| class="wikitable sortable" | |||
|- | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
|DosSubAllocMem||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosSubFreeMem||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosSubSetMem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosSubUnsetMem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|} | |||
==== Shared Memory ==== | ==== Shared Memory ==== | ||
{| class="wikitable sortable" | |||
|- | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
|DosAllocSharedMem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosGetNamedSharedMem|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosGetSharedMem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|DosGiveSharedMem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |||
|- | |||
|} | |||
==== Thread local Memory ==== | ==== Thread local Memory ==== | ||
* DosAllocThreadLocalMemory | * DosAllocThreadLocalMemory | ||
Line 480: | Line 527: | ||
=== Message Management === | === Message Management === | ||
{| class="wikitable sortable" | |||
|- | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
|DosGetMessage|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | |||
|- | |||
|DosTrueGetMessage|| No || | |||
|- | |||
|DosInsertMessage|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | |||
|- | |||
|DosPutMessage|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | |||
|- | |||
|DosQueryMessageCp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | |||
|- | |||
|DosIQueryMessageCp|| No || | |||
|- | |||
|} | |||
=== National Language/Code Page === | === National Language/Code Page === | ||
Line 539: | Line 597: | ||
=== Queues === | === Queues === | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosCloseQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
| DosQueryQueue || unsuported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
| DosWriteQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
|} | |||
==== Server ==== | ==== Server ==== | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosCreateQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
| DosPeekQueue || unsuported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
| DosPurgeQueue || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
| DosReadQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
|} | |||
==== Client ==== | ==== Client ==== | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosOpenQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | |||
|- | |||
|} | |||
=== Resource Management === | === Resource Management === | ||
Line 584: | Line 663: | ||
==== Mutex Semaphores ==== | ==== Mutex Semaphores ==== | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosCloseMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosCreateMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosOpenMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosQueryMutexSemm || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosReleaseMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosRequestMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
|} | |||
==== MuxWait Semaphores ==== | ==== MuxWait Semaphores ==== | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosAddMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosCloseMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
|DosCreateMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosDeleteMuxWaitSem|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosOpenMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
| DosRequestMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
|DosQueryMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
|DosWaitMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |||
|- | |||
|} | |||
=== Processes/Threading === | === Processes/Threading === | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosExit || No || | |||
|- | |||
| DosGetInfoBlocks || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
| DosSetPriority || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
|} | |||
==== Processes ==== | ==== Processes ==== | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosEnterCritSec || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
| DosExecPgm || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
| DosExitCritSec || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
| DosExitList || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
| DosKillProcess || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
| DosWaitChild || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | |||
|- | |||
|} | |||
==== Threads ==== | ==== Threads ==== | ||
Line 634: | Line 755: | ||
=== Session Management === | === Session Management === | ||
{| class="wikitable sortable" | |||
! CPI Function Name !! Available !! Link | |||
|- | |||
| DosSelectSession || No || | |||
|- | |||
| DosSetSession || No || | |||
|- | |||
| DosStartSession || No || | |||
|- | |||
| DosStopSession || No || | |||
|- | |||
|} | |||
=== Timer === | === Timer === |
Revision as of 03:49, 11 August 2017
This is a light check of what functions of Control Program Interface does the OS2Linux projects has implemented. It was not tested so we can not know for sure if the 100% of the functionality is implemented.
Legend
On the "Available" column you have the follow list:
- Yes : That can not mean that is full complete, but an implementation is availableon OS2Linux
- unsupported: Which means that OS2Linux has it implemented but gives an Error response.
- No: Means that OS2Linux does not have it, not even an ERROR reponse for it.
Date/Time
CPI Function Name | Available | Link |
---|---|---|
DosGetDateTime | Yes | datetime.c |
DosSetDateTime | Yes | datetime.c |
Device I/O
CPI Function Name | Available | Link |
---|---|---|
DosBeep | Yes | process.c |
DosDevConfig | No | |
DosDevIOCtl | No | |
DosListIO | No | |
DosListIOL | No | |
DosPhysicalDisk | No |
Video I/O functions
CPI Function Name | Available | Link |
---|---|---|
VioRegister | No | |
VioGlobalReg | No | |
VioDeRegister | No | |
VioGetBuf | unsupported | sub.c |
VioGetCurPos | Yes | sub.c |
VioSetCurPos | Yes | |
VioGetCurType | unsupported | sub.c |
VioSetCurType | unsupported | sub.c |
VioGetMode | unsupported | sub.c |
VioSetMode | unsupported | sub.c |
VioGetPhysBuf | No | |
VioReadCellStr | unsupported | sub.c |
VioReadCharStr | unsupported | sub.c |
VioWrtCellStr | No | |
VioWrtCharStr | Yes | sub.c |
VioScrollDn | unsupported | sub.c |
VioScrollUp | unsupported | sub.c |
VioScrollLf | unsupported | sub.c |
VioScrollRt | unsupported | sub.c |
VioWrtNAttr | unsupported | sub.c |
VioWrtNCell | unsupported | sub.c |
VioWrtNChar | Yes | sub.c |
VioWrtTTY | Yes | sub.c |
VioWrtCharStrAtt | unsupported | sub.c |
VioCheckCharType | No | |
VioShowBuf | unsupported | sub.c |
VioSetAnsi | unsupported | sub.c |
VioGetAnsi | unsupported | sub.c |
VioPrtSc | No | |
VioPrtScToggle | No | |
VioRedrawSize | No | |
VioSavRedrawWait | unsupported | sub.c |
VioSavRedrawUndo | unsupported | sub.c |
VioModeWait | unsupported | sub.c |
VioModeUndo | unsupported | sub.c |
VioScrUnLock | unsupported | sub.c |
VioPopUp | unsupported | sub.c |
VioEndPopUp | unsupported | sub.c |
VioGetConfig | unsupported | sub.c |
VioSetFont | No | |
VioGetCp | unsupported | sub.c |
VioSetCp | unsupported | sub.c |
VioGetState | unsupported | sub.c |
VioSetState | unsupported | sub.c |
Advanced VIO
CPI Function Name | Available | Link |
---|---|---|
VioAssociate | No | |
VioCreateLogFont | No | |
VioCreatePS | No | |
VioDeleteSetId | No | |
VioDestroyPS | No | |
VioGetDeviceCellSize | No | |
VioGetOrg | No | |
VioQueryFonts | No | |
VioQuerySetIds | No | |
VioSetDeviceCellSize | No | |
VioSetOrg | No | |
VioShowPS | No | |
WinDefAVioWindowProc | No |
Keyboard functions
CPI Function Name | Available | Link |
---|---|---|
KbdRegister | No | |
KbdDeRegister | No | |
KbdCharIn | No | |
KbdPeek | No | |
KbdStringIn | No | |
KbdFlushBuffer | No | |
KbdSetStatus | No | |
KbdGetStatus | No | |
KbdSetCp | No | |
KbdGetCp | No | |
KbdOpen | No | |
KbdClose | No | |
KbdGetFocus | No | |
KbdFreeFocus | No | |
KbdSynch | No | |
KbdSetFgnd | No | |
KbdGetHWID | No | |
KbdSetHWID | No | |
KbdXlate | No | |
KbdSetCustXt | No |
Mouse functions
CPI Function Name | Available | Link |
---|---|---|
MouRegister | No | |
MouDeRegister | No | |
MouFlushQue | No | |
MouGetPtrPos | No | |
MouSetPtrPos | No | |
MouSetPtrShape | No | |
MouGetPtrShape | No | |
MouGetDevStatus | No | |
MouGetNumButtons | No | |
MouGetNumMickeys | No | |
MouReadEventQue | No | |
MouGetNumQueEl | No | |
MouGetEventMask | No | |
MouSetEventMask | No | |
MouGetScaleFact | No | |
MouSetScaleFact | No | |
MouOpen | No | |
MouClose | No | |
MouRemovePtr | No | |
MouDrawPtr | No | |
MouSetDevStatus | No | |
MouInitReal | No | |
MouSynch | No | |
MouGetThreshold | No | |
MouSetThreshold | No |
Monitor functions
CPI Function Name | Available | Link |
---|---|---|
DosMonClose | No | |
DosMonOpen | No | |
DosMonRead | No | |
DosMonReg | No | |
DosMonWrite | No |
Dynamic Linking Library
CPI Function Name | Available | Link |
---|---|---|
DosFreeModule | Yes | modulemgr.c |
DosLoadModule | Yes | |
DosQueryAppType | No | |
DosQueryModuleHandle | unsupported | modulemgr.c |
DosQueryModuleName | unsupported | |
DosQueryProcAddr | Yes | |
DosQueryProcType | Yes |
Error Management
CPI Function Name | Available | Link |
---|---|---|
DosErrClass | unsupported | misc.c |
DosError | unsupported | misc.c |
Exception Management
CPI Function Name | Available | Link |
---|---|---|
DosRaiseException | unsupported | exceptions.c |
DosSetExceptionHandler | unsupported | exceptions.c |
DosUnsetExceptionHandler | unsupported | exceptions.c |
DosUnwindException | unsupported | exceptions.c |
Must Complete Management
CPI Function Name | Available | Link |
---|---|---|
DosEnterMustComplete | unsupported | exceptions.c |
DosExitMustComplete | unsupported | exceptions.c |
Signaling Exception Management
CPI Function Name | Available | Link |
---|---|---|
DosAcknowledgeSignalException | unsupported | exceptions.c |
DosSendSignalException | unsupported | exceptions.c |
DosSetSignalExceptionFocus | unsupported | exceptions.c |
File Systems/File Management
Directory Searching
CPI Function Name | Available | Link |
---|---|---|
DosFindClose | Yes | filemgr.c |
DosFindFirst | Yes | filemgr.c |
DosFindNext | Yes | filemgr.c |
Directory
CPI Function Name | Available | Link |
---|---|---|
DosCreateDir | Yes | filemgr.c |
DosDeleteDir | Yes | filemgr.c |
DosQueryCurrentDir | Yes | filemgr.c |
DosSetCurrentDir | Yes | filemgr.c |
Disk
CPI Function Name | Available | Link |
---|---|---|
DosQueryCurrentDisk | unsupported | filemgr.c |
DosSetDefaultDisk | unsupported | filemgr.c |
Environment/Path
CPI Function Name | Available | Link |
---|---|---|
DosScanEnv | Yes | misc.c |
DosSearchPath | unsupported | misc.c |
LibPath
CPI Function Name | Available | Link |
---|---|---|
DosQueryExtLIBPATH | Yes | misc.c |
DosSetExtLIBPATH | Yes | misc.c |
File Manipulation
- DosCancelLockRequest
- DosCancelLockRequestL
- DosClose
- DosProtectClose
- DosCopy
- DosDelete
- DosEditName
- DosForceDelete
- DosMove
- DosOpen
- DosOpenL
- DosProtectOpen
- DosProtectOpenL
- DosRead
- DosProtectRead
- DosSetFileInfo
- DosProtectSetFileInfo
- DosSetFileLock
- DosSetFileLockL
- DosProtectSetFileLock
- DosProtectSetFileLockL
- DosSetFilePtr
- DosSetFilePtrL
- DosProtectSetFilePtr
- DosProtectSetFilePtrL
- DosSetFileSize
- DosSetFileSizeL
- DosProtectSetFileSize
- DosProtectSetFileSizeL
- DosSetPathInfo
- DosSetVerify
- DosWrite
- DosProtectWrite
File Handle Manipulation
CPI Function Name | Available | Link |
---|---|---|
DosDupHandle | Yes | filemgr.c |
DosQueryFHState | Yes | filemgr.c |
DosProtectQueryFHState | unsupported | filemgr.c |
DosQueryHType | unsupported | filemgr.c |
DosResetBuffer | Yes | filemgr.c |
DosSetFHState | unsupported | filemgr.c |
DosProtectSetFHState | unsupported | filemgr.c |
DosSetMaxFH | unsupported | filemgr.c |
DosSetMaxFH | No |
File Querying
- DosEnumAttribute
- DosProtectEnumAttribute
- DosQueryFileInfo
- DosProtectQueryFileInfo
- DosQueryPathInfo
- DosQuerySysInfo
- DosQueryVerify
File System Functions
- DosFSAttach
- DosFSCtl
- DosQueryFSAttach
- DosQueryFSInfo
- DosResetBuffer
- DosSetFSInfo
- DosShutdown
Memory Management
CPI Function Name | Available | Link |
---|---|---|
DosAllocMem | Yes | memmgr.c |
DosFreeMem | Yes | memmgr.c |
DosQueryMem | unsupported | memmgr.c |
DosSetMem | unsupported | memmgr.c |
Heap Memory
CPI Function Name | Available | Link |
---|---|---|
DosSubAllocMem | unsupported | memmgr.c |
DosSubFreeMem | unsupported | memmgr.c |
DosSubSetMem | unsupported | memmgr.c |
DosSubUnsetMem | unsupported | memmgr.c |
CPI Function Name | Available | Link |
---|---|---|
DosAllocSharedMem | Yes | memmgr.c |
DosGetNamedSharedMem | Yes | memmgr.c |
DosGetSharedMem | unsupported | memmgr.c |
DosGiveSharedMem | unsupported | memmgr.c |
Thread local Memory
- DosAllocThreadLocalMemory
- DosFreeThreadLocalMemory
Addressing
- DosFlatToSel
- DosSelToFlat
Message Management
CPI Function Name | Available | Link |
---|---|---|
DosGetMessage | Yes | misc.c |
DosTrueGetMessage | No | |
DosInsertMessage | unsupported | misc.c |
DosPutMessage | Yes | misc.c |
DosQueryMessageCp | unsupported | misc.c |
DosIQueryMessageCp | No |
National Language/Code Page
- DosQueryCp
- DosSetProcessCp
- DosMapCase
- DosQueryCollate
- DosQueryCtryInfo
- DosQueryDBCSEnv
Pipes
CPI Function Name | Available | Link |
---|---|---|
DosCreatePipe | Yes | queues.c] |
Named Pipes
CPI Function Name | Available | Link |
---|---|---|
DosCallNPipe | Yes | nmpipes.c |
DosConnectNPipe | Yes | nmpipes.c |
DosDisConnectNPipe | Yes | nmpipes.c |
DosPeekNPipe | Yes | nmpipes.c |
DosQueryNPHState | Yes | nmpipes.c |
DosCreatePipe | Yes | queues.c |
DosQueryNPipeInfo | unsupported | nmpipes.c |
DosQueryNPipeSemState | unsupported | nmpipes.c |
DosResetBuffer | Yes | filemgr.c |
DosSetNPHState | unsupported | nmpipes.c |
DosSetNPipeSem | unsupported | nmpipes.c |
DosTransactNPipe | Yes | nmpipes.c |
DosWaitNPipe | Yes | nmpipes.c |
Queues
CPI Function Name | Available | Link |
---|---|---|
DosCloseQueue | Yes | queues.c |
DosQueryQueue | unsuported | queues.c |
DosWriteQueue | Yes | queues.c |
Server
CPI Function Name | Available | Link |
---|---|---|
DosCreateQueue | Yes | queues.c |
DosPeekQueue | unsuported | queues.c |
DosPurgeQueue | unsupported | queues.c |
DosReadQueue | Yes | queues.c |
Client
CPI Function Name | Available | Link |
---|---|---|
DosOpenQueue | Yes | queues.c |
Resource Management
CPI Function Name | Available | Link |
---|---|---|
DosFreeResource | unsupported | resources.c |
DosGetResource | unsupported | resources.c |
DosQueryResourceSize | unsupported | resources.c |
Semaphores
Event Semaphores
CPI Function Name | Available | Link |
---|---|---|
DosCloseEventSem | Yes | semaphore.c |
DosCreateEventSem | Yes | semaphore.c |
DosOpenEventSem | Yes | semaphore.c |
DosPostEventSem | Yes | semaphore.c |
DosQueryEventSem | Yes | semaphore.c |
DosResetEventSem | Yes | semaphore.c |
DosWaitEventSem | Yes | semaphore.c |
Mutex Semaphores
CPI Function Name | Available | Link |
---|---|---|
DosCloseMutexSem | Yes | semaphore.c |
DosCreateMutexSem | Yes | semaphore.c |
DosOpenMutexSem | Yes | semaphore.c |
DosQueryMutexSemm | unsupported | semaphore.c |
DosReleaseMutexSem | Yes | semaphore.c |
DosRequestMutexSem | Yes | semaphore.c |
MuxWait Semaphores
CPI Function Name | Available | Link |
---|---|---|
DosAddMuxWaitSem | Yes | semaphore.c |
DosCloseMuxWaitSem | Yes | semaphore.c |
DosCreateMuxWaitSem | Yes | semaphore.c |
DosDeleteMuxWaitSem | unsupported | semaphore.c |
DosOpenMuxWaitSem | Yes | semaphore.c |
DosRequestMutexSem | Yes | semaphore.c |
DosQueryMuxWaitSem | Yes | semaphore.c |
DosWaitMuxWaitSem | Yes | semaphore.c |
Processes/Threading
CPI Function Name | Available | Link |
---|---|---|
DosExit | No | |
DosGetInfoBlocks | Yes | process.c |
DosSetPriority | Yes | process.c |
Processes
CPI Function Name | Available | Link |
---|---|---|
DosEnterCritSec | Yes | process.c |
DosExecPgm | Yes | process.c |
DosExitCritSec | Yes | process.c |
DosExitList | Yes | process.c |
DosKillProcess | Yes | process.c |
DosWaitChild | Yes | process.c |
Threads
CPI Function Name | Available | Link |
---|---|---|
DosCreateThread | Yes | process.c |
DosKillThread | Yes | process.c |
DosQueryThreadAffinity | No | |
DosResumeThread | Yes | process.c |
DosSetThreadAffinity | No | |
DosSleep | Yes | process.c |
DosSuspendThread | Yes | process.c |
DosWaitThread | Yes | process.c |
Session Management
CPI Function Name | Available | Link |
---|---|---|
DosSelectSession | No | |
DosSetSession | No | |
DosStartSession | No | |
DosStopSession | No |
Timer
CPI Function Name | Available | Link |
---|---|---|
DosAsyncTimer | Yes | datetime.c |
DosStartTimer | Yes | datetime.c |
DosStopTimer | Yes | datetime.c |
Legend
On the "Available" column you have the follow list:
- Yes : That can not mean that is full complete, but an implementation is availableon OS2Linux
- unsupported: Which means that OS2Linux has it implemented but gives an Error response.
- No: Means that OS2Linux does not have it, not even an ERROR reponse for it.