CPI Functions Analysis and Comparison (OS2Linux / 2Ine): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
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. | ||
| Line 19: | Line 19: | ||
=== Device I/O === | === Device I/O === | ||
{|class="wikitable" | {|class="wikitable" | ||
!CPI Function Name | !CPI Function Name||OS2Linux||2ine | ||
|- | |- | ||
|DosBeep|| Yes | |DosBeep||Yes [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] ||No | ||
|- | |- | ||
|DosDevConfig | |DosDevConfig||No||Yes [https://hg.icculus.org/icculus/2ine/file/tip/native/doscalls.c doscalls.c] | ||
|- | |- | ||
|DosDevIOCtl | |DosDevIOCtl||No||No | ||
|- | |- | ||
|DosListIO | |DosListIO||No||No | ||
|- | |- | ||
|DosListIOL | |DosListIOL||No||No | ||
|- | |- | ||
|DosPhysicalDisk | |DosPhysicalDisk||No||No | ||
|- | |- | ||
|DosTmrQueryFreq | |DosTmrQueryFreq||No||No | ||
|- | |- | ||
|DosTmrQueryTime||No||No | |||
|} | |} | ||
| Line 49: | Line 48: | ||
|VioDeRegister|| 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 || | |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 || | |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] | |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]|| | |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] || | |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|| | |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|| | |VioSetMode||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
|VioGetPhysBuf|| No || No || No || No | |VioGetPhysBuf|| No || No || No || No | ||
|- | |- | ||
|VioReadCellStr|| | |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|| | |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] | |VioWrtCellStr|| No || No || Yes || [https://hg.icculus.org/icculus/2ine/file/tip/native/viocalls.c viocalls.c] | ||
| Line 73: | Line 72: | ||
|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] | |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|| | |VioScrollDn||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
|VioScrollUp|| | |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|| | |VioScrollLf||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
|VioScrollRt|| | |VioScrollRt||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
|VioWrtNAttr|| | |VioWrtNAttr||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c] || No || No | ||
|- | |- | ||
|VioWrtNCell|| | |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 | |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 | |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] | |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] | ||
| Line 101: | Line 100: | ||
|VioPrtSc|| No || No || No || No | |VioPrtSc|| No || No || No || No | ||
|- | |- | ||
|VioPrtScToggle|| No || | |VioPrtScToggle|| No ||No || No || No | ||
|- | |- | ||
|VioRedrawSize|| No || | |VioRedrawSize|| No ||No || No || No | ||
|- | |- | ||
|VioSavRedrawWait|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | |VioSavRedrawWait|| unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/sub.c sub.c]|| No || No | ||
| Line 266: | Line 265: | ||
==== Monitor functions ==== | ==== Monitor functions ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosMonClose || No || | | DosMonClose || No || | ||
| Line 278: | 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 301: | Line 299: | ||
=== Error Management === | === Error Management === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| Line 307: | 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 342: | 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 355: | 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 369: | 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] | ||
|} | |} | ||
| Line 470: | Line 462: | ||
|- | |- | ||
| DosProtectWrite | | DosProtectWrite | ||
|} | |} | ||
| Line 495: | Line 486: | ||
|- | |- | ||
|DosSetMaxFH || No || | |DosSetMaxFH || No || | ||
|} | |} | ||
| Line 506: | Line 496: | ||
* DosQuerySysInfo | * DosQuerySysInfo | ||
* DosQueryVerify | * DosQueryVerify | ||
==== File System Functions ==== | ==== File System Functions ==== | ||
* DosFSAttach | * DosFSAttach | ||
| Line 516: | Line 507: | ||
=== Memory Management === | === Memory Management === | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
|DosAllocMem|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |DosAllocMem|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | ||
| Line 531: | Line 522: | ||
==== Heap Memory ==== | ==== Heap Memory ==== | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
|DosSubAllocMem||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | |DosSubAllocMem||unsupported || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | ||
| Line 542: | Line 533: | ||
|- | |- | ||
|DosSubUnsetMem|| 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 | {| class="wikitable" | ||
|- | |- | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
|DosAllocSharedMem | |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] | |DosGetNamedSharedMem|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/memmgr.c memmgr.c] | ||
| Line 557: | Line 547: | ||
|- | |- | ||
|DosGiveSharedMem|| 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] | ||
|} | |} | ||
| Line 569: | Line 558: | ||
=== Message Management === | === Message Management === | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
|DosGetMessage|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | |DosGetMessage|| Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/misc.c misc.c] | ||
| Line 584: | Line 573: | ||
|- | |- | ||
|DosIQueryMessageCp|| No || | |DosIQueryMessageCp|| No || | ||
|} | |} | ||
| Line 597: | 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 622: | Line 607: | ||
| 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] | ||
|- | |- | ||
| 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 || Yes | | 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 === | === Queues === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| Line 647: | Line 631: | ||
|- | |- | ||
| DosWriteQueue || Yes || [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 | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosCreateQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | | DosCreateQueue || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/queues.c queues.c] | ||
| Line 661: | Line 644: | ||
|- | |- | ||
| DosReadQueue || Yes || [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 | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| Line 672: | Line 655: | ||
=== Resource Management === | === Resource Management === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| Line 680: | 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 701: | 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 ==== | ==== Mutex Semaphores ==== | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosCloseMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | | DosCloseMutexSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | ||
| Line 719: | Line 700: | ||
|- | |- | ||
| DosRequestMutexSem || 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 ==== | ||
| Line 727: | Line 706: | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| DosAddMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | |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] | |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] | |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] | |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] | |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] | |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] | |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] | |DosWaitMuxWaitSem || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/semaphore.c semaphore.c] | ||
|} | |} | ||
=== Processes/Threading === | === Processes/Threading === | ||
{| class="wikitable | {| class="wikitable" | ||
! CPI Function Name | ! CPI Function Name||Available||Link | ||
|- | |- | ||
| DosExit || No || | | DosExit || No || | ||
| Line 754: | Line 732: | ||
|- | |- | ||
| DosSetPriority || 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 | {| class="wikitable" | ||
! CPI Function Name !! Available !! Link | ! CPI Function Name !! Available !! Link | ||
|- | |- | ||
| DosEnterCritSec || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | | 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] | | 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] | | DosExitCritSec || Yes || [https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|- | |- | ||
| DosExitList || Yes || | | DosExitList || Yes ||[https://github.com/OS2World/LINUX-SYSTEM-OS2Linux/blob/1eaffacb404b31b79068582ef8bf4d7583c8fa8d/os2/process.c process.c] | ||
|- | |- | ||
| DosKillProcess || Yes || | | 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] | |||
|} | |} | ||
| Line 780: | 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 786: | 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 792: | 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 | {| class="wikitable" | ||
! CPI Function Name !! OS2Linux !! OS2Linux Link !! 2ine !! 2ine Link | ! CPI Function Name !! OS2Linux !! OS2Linux Link !! 2ine !! 2ine Link | ||
|- | |- | ||
| DosSelectSession || No || | | DosSelectSession||No||No||No||No | ||
|- | |- | ||
| DosSetSession || No || | | DosSetSession||No||No||No||No | ||
|- | |- | ||
| DosStartSession || 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 !! 2ine || 2ine 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 825: | 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.