CPI Functions Analysis and Comparison (OS2Linux / 2Ine): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| (36 intermediate revisions by 2 users 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 and 2ine 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 === | ||
{|class="wikitable" | {|class="wikitable" | ||
!CPI Function Name!! | !CPI Function Name!! OS2Linux !! OS2Linux Link !! 2ine !! 2ine Link | ||
|- | |- | ||
|DosGetDateTime|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/master/os2/datetime.c datetime.c] | |DosGetDateTime|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/master/os2/datetime.c datetime.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/doscalls.c doscalls.c] | ||
|- | |- | ||
|DosSetDateTime|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/master/os2/datetime.c datetime.c] | |DosSetDateTime|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/master/os2/datetime.c datetime.c] || No || No | ||
|} | |} | ||
=== Device I/O === | === Device I/O === | ||
{| class="wikitable | {|class="wikitable" | ||
!CPI Function Name | !CPI Function Name||OS2Linux||2ine | ||
|- | |||
|DosBeep||Yes [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] ||No | |||
|- | |- | ||
| | |DosDevConfig||No||Yes [https://hg.icculus.org/icculus/2ine/file/tip/native/doscalls.c doscalls.c] | ||
|- | |- | ||
| | |DosDevIOCtl||No||No | ||
|- | |- | ||
| | |DosListIO||No||No | ||
|- | |- | ||
| | |DosListIOL||No||No | ||
|- | |- | ||
| | |DosPhysicalDisk||No||No | ||
|- | |- | ||
| | |DosTmrQueryFreq||No||No | ||
|- | |- | ||
|DosTmrQueryTime||No||No | |||
|} | |} | ||
==== Video I/O functions ==== | ==== Video I/O functions ==== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
!CPI Function Name !! | !CPI Function Name!! OS2Linux !! OS2Linux Link !! 2ine !! 2ine Link | ||
|- | |- | ||
| | |VioRegister|| No || No || No || No | ||
|- | |- | ||
| | |VioGlobalReg|| No || No || No || No | ||
|- | |- | ||
| | |VioDeRegister|| No || No || No || No | ||
|- | |- | ||
| | |VioGetBuf|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes ||[https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioGetCurPos|| Yes ||rowspan=2| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioSetCurPos|| Yes || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioGetCurType|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]||Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioSetCurType|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] ||unsupported ||[https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioGetMode||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]||Yes ||[https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioSetMode||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioGetPhysBuf|| No || No || No || No | ||
|- | |- | ||
| | |VioReadCellStr||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioReadCharStr||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No|| No | ||
|- | |- | ||
| | |VioWrtCellStr|| No || No || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioWrtCharStr|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioScrollDn||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioScrollUp||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioScrollLf||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioScrollRt||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioWrtNAttr||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioWrtNCell||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioWrtNChar||Yes ||[https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioWrtTTY||Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioWrtCharStrAtt|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
|- | |- | ||
| | |VioCheckCharType|| No || No || No || No | ||
|- | |- | ||
| | |VioShowBuf|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
| | |VioSetAnsi|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioGetAnsi|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]||No || No | ||
|- | |- | ||
| | |VioPrtSc|| No || No || No || No | ||
|- | |- | ||
| | |VioPrtScToggle|| No ||No || No || No | ||
|- | |- | ||
| | |VioRedrawSize|| No ||No || No || No | ||
|- | |- | ||
| | |VioSavRedrawWait|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioSavRedrawUndo|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioModeWait|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioModeUndo|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioScrUnLock|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioPopUp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
| | |VioEndPopUp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
|VioGetConfig|| No || | |VioGetConfig|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
|VioSetFont|| No || | |VioSetFont|| No || No || No || No | ||
|- | |- | ||
|VioGetCp|| No || | |VioGetCp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
|VioSetCp|| No || | |VioSetCp|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
|VioGetState|| No || | |VioGetState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
|- | |- | ||
|VioSetState|| No || | |VioSetState|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|} | |} | ||
| Line 260: | Line 265: | ||
==== Monitor functions ==== | ==== Monitor functions ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosMonClose || No || | | DosMonClose || No || | ||
| Line 272: | Line 277: | ||
|- | |- | ||
| DosMonWrite||No || | | DosMonWrite||No || | ||
|} | |} | ||
=== Dynamic Linking Library === | === Dynamic Linking Library === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosFreeModule || Yes ||rowspan=2| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/modulemgr.c modulemgr.c] | | DosFreeModule || Yes ||rowspan=2| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/modulemgr.c modulemgr.c] | ||
| Line 295: | Line 299: | ||
=== Error Management === | === Error Management === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| Line 301: | Line 305: | ||
|- | |- | ||
| DosError || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | | DosError || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | ||
|} | |} | ||
=== Exception Management === | === Exception Management === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosRaiseException || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosRaiseException || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|- | |- | ||
| DosSetExceptionHandler || | | DosSetExceptionHandler||unsupported|| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|- | |- | ||
| DosUnsetExceptionHandler || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosUnsetExceptionHandler || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|- | |- | ||
| DosUnwindException || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosUnwindException || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|} | |} | ||
==== Must Complete Management ==== | ==== Must Complete Management ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosEnterMustComplete || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosEnterMustComplete || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|- | |- | ||
| DosExitMustComplete || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosExitMustComplete || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|} | |} | ||
==== Signaling Exception Management ==== | ==== Signaling Exception Management ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosAcknowledgeSignalException || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosAcknowledgeSignalException || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
| Line 336: | Line 338: | ||
|- | |- | ||
| DosSetSignalExceptionFocus || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | | DosSetSignalExceptionFocus || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/exceptions.c exceptions.c] | ||
|} | |} | ||
=== File Systems/File Management === | === File Systems/File Management === | ||
==== Directory Searching ==== | ==== Directory Searching ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosFindClose || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | | DosFindClose || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
| Line 349: | Line 350: | ||
|- | |- | ||
| DosFindNext || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | | DosFindNext || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
|} | |} | ||
==== Directory ==== | ==== Directory ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosCreateDir || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | | DosCreateDir || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
| Line 363: | Line 363: | ||
|- | |- | ||
| DosSetCurrentDir || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | | DosSetCurrentDir || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
|} | |} | ||
==== Disk ==== | ==== Disk ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosQueryCurrentDisk || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | | DosQueryCurrentDisk || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
|- | |- | ||
| DosSetDefaultDisk || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | | DosSetDefaultDisk || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
|} | |} | ||
==== Environment/Path ==== | ==== Environment/Path ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosScanEnv || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | | DosScanEnv || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | ||
|- | |- | ||
| DosSearchPath|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | | DosSearchPath|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | ||
|} | |} | ||
===== LibPath ===== | ===== LibPath ===== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosQueryExtLIBPATH || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | | DosQueryExtLIBPATH || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | ||
|- | |- | ||
| DosSetExtLIBPATH|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | | DosSetExtLIBPATH|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | ||
|} | |} | ||
==== File Manipulation ==== | ==== File Manipulation ==== | ||
{| class="wikitable sortable" | |||
|- | |||
! CPI Function Name !! OS2Linux !! OS2Linux Link !! 2ine !! 2ine Link | |||
|- | |||
| 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 ==== | ==== 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 447: | Line 496: | ||
* DosQuerySysInfo | * DosQuerySysInfo | ||
* DosQueryVerify | * DosQueryVerify | ||
==== File System Functions ==== | ==== File System Functions ==== | ||
* DosFSAttach | * DosFSAttach | ||
| Line 457: | Line 507: | ||
=== Memory Management === | === Memory Management === | ||
{| class="wikitable" | |||
|- | |||
! 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" | |||
|- | |||
! 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" | |||
|- | |||
! 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 558: | ||
=== Message Management === | === Message Management === | ||
{| class="wikitable" | |||
|- | |||
! 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 497: | Line 585: | ||
=== Pipes === | === Pipes === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosCreatePipe || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c]] | | DosCreatePipe || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c]] | ||
|} | |} | ||
==== Named Pipes ==== | ==== Named Pipes ==== | ||
| Line 520: | Line 605: | ||
| DosQueryNPHState || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | | DosQueryNPHState || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|- | |- | ||
| DosCreatePipe || | | DosCreatePipe || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | ||
|- | |- | ||
| DosQueryNPipeInfo || unsupported | | DosQueryNPipeInfo || unsupported|| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|- | |- | ||
| DosQueryNPipeSemState || unsupported | | DosQueryNPipeSemState || unsupported|| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|- | |- | ||
| DosResetBuffer || | | DosResetBuffer || Yes|| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/filemgr.c filemgr.c] | ||
|- | |- | ||
| DosSetNPHState || unsupported | | DosSetNPHState || unsupported|| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|- | |- | ||
| DosSetNPipeSem || unsupported | | DosSetNPipeSem || unsupported|| [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|- | |- | ||
| DosTransactNPipe || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | | DosTransactNPipe || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|- | |- | ||
| DosWaitNPipe ||Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | | DosWaitNPipe ||Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/nmpipes.c nmpipes.c] | ||
|} | |||
=== Queues === | |||
{| class="wikitable" | |||
! 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" | |||
! 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" | |||
! 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 === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| Line 559: | Line 663: | ||
|- | |- | ||
| DosQueryResourceSize || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/resources.c resources.c] | | DosQueryResourceSize || unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/resources.c resources.c] | ||
|} | |} | ||
| Line 580: | Line 683: | ||
|- | |- | ||
| DosWaitEventSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | | DosWaitEventSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | ||
|} | |||
==== Mutex Semaphores ==== | |||
{| class="wikitable" | |||
! 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" | |||
! 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" | |||
! 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 617: | Line 757: | ||
| DosCreateThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | DosCreateThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|- | |- | ||
| DosKillThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | DosKillThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|- | |- | ||
| DosQueryThreadAffinity || No || | | DosQueryThreadAffinity || No || | ||
| Line 623: | Line 763: | ||
| DosResumeThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | DosResumeThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|- | |- | ||
| DosSetThreadAffinity || No || | | DosSetThreadAffinity || No || | ||
|- | |- | ||
| DosSleep || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | DosSleep || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
| Line 629: | Line 769: | ||
| DosSuspendThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | DosSuspendThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|- | |- | ||
| DosWaitThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | DosWaitThread || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|} | |} | ||
=== Session Management === | === Session Management === | ||
{| class="wikitable" | |||
! CPI Function Name !! OS2Linux !! OS2Linux Link !! 2ine !! 2ine Link | |||
|- | |||
| DosSelectSession||No||No||No||No | |||
|- | |||
| DosSetSession||No||No||No||No | |||
|- | |||
| DosStartSession||No||No||Yes||[https://hg.icculus.org/icculus/2ine/file/tip/native/sesmgr.c sesmgr.c ] | |||
|- | |||
| DosStopSession||No||No||No||No | |||
|} | |||
=== Timer === | === Timer === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link !! 2ine || 2ine Link | ||
|- | |- | ||
| DosAsyncTimer || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/datetime.c datetime.c] | | DosAsyncTimer || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/datetime.c datetime.c]|| No || No | ||
|- | |- | ||
| DosStartTimer || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/datetime.c datetime.c] | | DosStartTimer || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/datetime.c datetime.c]|| No || No | ||
| | |||
| | |||
|- | |- | ||
| DosStopTimer || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/datetime.c datetime.c]|| No || No | |||
|} | |} | ||
| Line 654: | Line 799: | ||
On the "Available" column you have the follow list: | On the "Available" column you have the follow list: | ||
* '''Yes :''' That can not mean that is full complete, but an implementation is availableon OS2Linux | * '''Yes :''' That can not mean that is full complete, but an implementation is availableon OS2Linux | ||
* '''unsupported:''' Which means that | * '''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. | * '''No:''' Means that OS2Linux does not have it, not even an ERROR reponse for it. | ||
==Related Link== | |||
* [[2ine]] | |||
[[Category:xWarp]] | [[Category:xWarp]] | ||
Latest revision as of 23:07, 13 June 2023
This is a light check of what functions of Control Program Interface does the OS2Linux and 2ine 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 | OS2Linux | OS2Linux Link | 2ine | 2ine Link |
|---|---|---|---|---|
| DosGetDateTime | Yes | datetime.c | Yes | doscalls.c |
| DosSetDateTime | Yes | datetime.c | No | No |
Device I/O
| CPI Function Name | OS2Linux | 2ine |
|---|---|---|
| DosBeep | Yes process.c | No |
| DosDevConfig | No | Yes doscalls.c |
| DosDevIOCtl | No | No |
| DosListIO | No | No |
| DosListIOL | No | No |
| DosPhysicalDisk | No | No |
| DosTmrQueryFreq | No | No |
| DosTmrQueryTime | No | No |
Video I/O functions
| CPI Function Name | OS2Linux | OS2Linux Link | 2ine | 2ine Link |
|---|---|---|---|---|
| VioRegister | No | No | No | No |
| VioGlobalReg | No | No | No | No |
| VioDeRegister | No | No | No | No |
| VioGetBuf | unsupported | sub.c | Yes | viocalls.c |
| VioGetCurPos | Yes | sub.c | Yes | viocalls.c |
| VioSetCurPos | Yes | Yes | viocalls.c | |
| VioGetCurType | unsupported | sub.c | Yes | viocalls.c |
| VioSetCurType | unsupported | sub.c | unsupported | viocalls.c |
| VioGetMode | unsupported | sub.c | Yes | viocalls.c |
| VioSetMode | unsupported | sub.c | No | No |
| VioGetPhysBuf | No | No | No | No |
| VioReadCellStr | unsupported | sub.c | Yes | viocalls.c |
| VioReadCharStr | unsupported | sub.c | No | No |
| VioWrtCellStr | No | No | Yes | viocalls.c |
| VioWrtCharStr | Yes | sub.c | Yes | viocalls.c |
| VioScrollDn | unsupported | sub.c | No | No |
| VioScrollUp | unsupported | sub.c | Yes | viocalls.c |
| VioScrollLf | unsupported | sub.c | No | No |
| VioScrollRt | unsupported | sub.c | No | No |
| VioWrtNAttr | unsupported | sub.c | No | No |
| VioWrtNCell | unsupported | sub.c | Yes | viocalls.c |
| VioWrtNChar | Yes | sub.c | No | No |
| VioWrtTTY | Yes | sub.c | No | No |
| VioWrtCharStrAtt | unsupported | sub.c | Yes | viocalls.c |
| VioCheckCharType | No | No | No | No |
| VioShowBuf | unsupported | sub.c | No | No |
| VioSetAnsi | unsupported | sub.c | No | No |
| VioGetAnsi | unsupported | sub.c | No | No |
| VioPrtSc | No | No | No | No |
| VioPrtScToggle | No | No | No | No |
| VioRedrawSize | No | No | No | No |
| VioSavRedrawWait | unsupported | sub.c | No | No |
| VioSavRedrawUndo | unsupported | sub.c | No | No |
| VioModeWait | unsupported | sub.c | No | No |
| VioModeUndo | unsupported | sub.c | No | No |
| VioScrUnLock | unsupported | sub.c | No | No |
| VioPopUp | unsupported | sub.c | No | No |
| VioEndPopUp | unsupported | sub.c | No | No |
| VioGetConfig | unsupported | sub.c | No | No |
| VioSetFont | No | No | No | No |
| VioGetCp | unsupported | sub.c | No | No |
| VioSetCp | unsupported | sub.c | No | No |
| VioGetState | unsupported | sub.c | No | No |
| VioSetState | unsupported | sub.c | No | No |
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
| CPI Function Name | OS2Linux | OS2Linux Link | 2ine | 2ine Link |
|---|---|---|---|---|
| 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 |
Shared Memory
| 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 | OS2Linux | OS2Linux Link | 2ine | 2ine Link |
|---|---|---|---|---|
| DosSelectSession | No | No | No | No |
| DosSetSession | No | No | No | No |
| DosStartSession | No | No | Yes | sesmgr.c |
| DosStopSession | No | No | No | No |
Timer
| CPI Function Name | Available | Link | 2ine | 2ine Link |
|---|---|---|---|---|
| DosAsyncTimer | Yes | datetime.c | No | No |
| DosStartTimer | Yes | datetime.c | No | No |
| DosStopTimer | Yes | datetime.c | No | No |
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.