Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:tk:som:sc:pr [2025/04/08 14:46] – [somtfatal, somtfatalSL function] prokushev | en:docs:tk:som:sc:pr [2026/02/16 08:23] (current) – prokushev | ||
|---|---|---|---|
| Line 82: | Line 82: | ||
| Note: somtsearchFile version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtsearchFile version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somttraverseParents, | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN int somttraverseParents(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | ||
| - | SOMEXTERN int SOMLINK somttraverseParentsSL(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | ||
| - | </ | ||
| - | |||
| - | Note: somttraverseParents version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| ==== somtloadSL function ==== | ==== somtloadSL function ==== | ||
| Line 118: | Line 110: | ||
| Note: somtGetType version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtGetType version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtokfopen, | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN FILE * somtokfopen(char *path, char *mode); | ||
| - | SOMEXTERN FILE * SOMLINK somtokfopenSL(char *path, char *mode); | ||
| - | </ | ||
| - | |||
| - | Same as C fopen function. | ||
| - | |||
| - | Note: somtokfopen version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | |||
| - | ==== somtokrename, | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN int somtokrename(const char*, const char *); | ||
| - | SOMEXTERN int SOMLINK somtokrenameSL(const char*, const char *); | ||
| - | </ | ||
| - | |||
| - | Note: somtokrename version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | |||
| - | ==== somtopenEmitFile, | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN FILE * somtopenEmitFile(char *file, char *ext); | ||
| - | SOMEXTERN FILE * SOMLINK somtopenEmitFileSL(char *file, char *ext); | ||
| - | </ | ||
| - | |||
| - | Note: somtopenEmitFile version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| ==== somtisDbcs, somtisDbcsSL function ==== | ==== somtisDbcs, somtisDbcsSL function ==== | ||
| Line 401: | Line 365: | ||
| Note: somtdbcsLastChar version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtdbcsLastChar version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| ==== somtdbcsScan, | ==== somtdbcsScan, | ||
| Line 409: | Line 374: | ||
| Note: somtdbcsScan version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtdbcsScan version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtdiskFull, | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN int somtdiskFull(FILE *fp); | ||
| - | SOMEXTERN int SOMLINK somtdiskFullSL(FILE *fp); | ||
| - | </ | ||
| - | |||
| - | Note: somtdiskFull version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtfclose, somtfcloseSL function ==== | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN int somtfclose(FILE *fp); | ||
| - | SOMEXTERN int SOMLINK somtfcloseSL(FILE *fp); | ||
| - | </ | ||
| - | |||
| - | Same as C fclose function. | ||
| - | |||
| - | Note: somtfclose version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| ==== somtisparent, | ==== somtisparent, | ||
| Line 437: | Line 384: | ||
| Note: somtisparent version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtisparent version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | |||
| - | ==== somtokremove, | ||
| - | |||
| - | <code C> | ||
| - | SOMEXTERN int somtokremove(char *file); | ||
| - | SOMEXTERN int SOMLINK somtokremoveSL(char *file); | ||
| - | </ | ||
| - | |||
| - | Alias of C remove function. | ||
| - | |||
| - | Note: somtokremove version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| ==== somtunload, somtunloadSL function ==== | ==== somtunload, somtunloadSL function ==== | ||
| Line 492: | Line 428: | ||
| Note: somtcalcFileName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtcalcFileName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| ==== somtcleanFilesFatal, | ==== somtcleanFilesFatal, | ||
| Line 502: | Line 439: | ||
| Note: somtcleanFilesFatal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtcleanFilesFatal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | ==== somttraverseParents, | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN int somttraverseParents(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | ||
| + | SOMEXTERN int SOMLINK somttraverseParentsSL(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | ||
| + | </ | ||
| + | |||
| + | Note: somttraverseParents version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | ==== somtokfopen, | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN FILE * somtokfopen(char *path, char *mode); | ||
| + | SOMEXTERN FILE * SOMLINK somtokfopenSL(char *path, char *mode); | ||
| + | </ | ||
| + | |||
| + | Same as C fopen function. | ||
| + | |||
| + | Note: somtokfopen version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | ==== somtokrename, | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN int somtokrename(const char*, const char *); | ||
| + | SOMEXTERN int SOMLINK somtokrenameSL(const char*, const char *); | ||
| + | </ | ||
| + | |||
| + | Note: somtokrename version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | ==== somtopenEmitFile, | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN FILE * somtopenEmitFile(char *file, char *ext); | ||
| + | SOMEXTERN FILE * SOMLINK somtopenEmitFileSL(char *file, char *ext); | ||
| + | </ | ||
| + | |||
| + | Note: somtopenEmitFile version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | ==== somtdiskFull, | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN int somtdiskFull(FILE *fp); | ||
| + | SOMEXTERN int SOMLINK somtdiskFullSL(FILE *fp); | ||
| + | </ | ||
| + | |||
| + | Note: somtdiskFull version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | ==== somtfclose, somtfcloseSL function ==== | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN int somtfclose(FILE *fp); | ||
| + | SOMEXTERN int SOMLINK somtfcloseSL(FILE *fp); | ||
| + | </ | ||
| + | |||
| + | Same as C fclose function. | ||
| + | |||
| + | Note: somtfclose version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | ==== somtokremove, | ||
| + | |||
| + | <code C> | ||
| + | SOMEXTERN int somtokremove(char *file); | ||
| + | SOMEXTERN int SOMLINK somtokremoveSL(char *file); | ||
| + | </ | ||
| + | |||
| + | Alias of C remove function. | ||
| + | |||
| + | Note: somtokremove version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| ==== somtemitTypes, | ==== somtemitTypes, | ||
| Line 511: | Line 516: | ||
| Note: somtemitTypes version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtemitTypes version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtfatal function ==== | + | ==== somtfatal, somtfatalSL |
| <code c> | <code c> | ||
| - | SOMEXTERN void somtfatal(char *file, long lineno, char *fmt, ...); | + | SOMEXTERN void OPTLINK |
| </ | </ | ||
| Used by: IBM SOM 2.1 NT in SOMIPC.EXE | Used by: IBM SOM 2.1 NT in SOMIPC.EXE | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void SOMLINK somtfatalSL(char *file, long lineno, char *fmt, ...); | ||
| + | </ | ||
| + | |||
| + | Used by: | ||
| + | |||
| + | |||
| ==== somtinternal, | ==== somtinternal, | ||
| Line 686: | Line 699: | ||
| Note: somtgenSeqName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtgenSeqName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtmrifatal, | ||
| - | |||
| - | <code c> | ||
| - | SOMEXTERN void somtmrifatal(char *file, long lineno, int msgnum, | ||
| - | SOMEXTERN void SOMLINK somtmrifatalSL(char *file, long lineno, int msgnum, | ||
| - | </ | ||
| - | |||
| - | Note: somtmrifatal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtmriinternal, | ||
| - | |||
| - | <code c> | ||
| - | SOMEXTERN void somtmriinternal(char *file, long lineno, int msgnum, | ||
| - | SOMEXTERN void SOMLINK somtmriinternalSL(char *file, long lineno, int msgnum, | ||
| - | </ | ||
| - | |||
| - | Note: somtmriinternal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtmrierror, | ||
| - | |||
| - | <code c> | ||
| - | SOMEXTERN void somtmrierror(char *file, long lineno, int msgnum, | ||
| - | SOMEXTERN void SOMLINK somtmrierrorSL(char *file, long lineno, int msgnum, | ||
| - | </ | ||
| - | |||
| - | Note: somtmrierror version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtmrimsg, somtmrimsgSL function ==== | ||
| - | |||
| - | <code c> | ||
| - | SOMEXTERN void somtmrimsg(char *file, long lineno, int msgnum, | ||
| - | SOMEXTERN void SOMLINK somtmrimsgSL(char *file, long lineno, int msgnum, | ||
| - | </ | ||
| - | |||
| - | Note: somtmrimsg version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtmriwarn, | ||
| - | |||
| - | <code c> | ||
| - | SOMEXTERN void somtmriwarn(char *file, long lineno, int msgnum, | ||
| - | SOMEXTERN void SOMLINK somtmriwarnSL(char *file, long lineno, int msgnum, | ||
| - | </ | ||
| - | |||
| - | Note: somtmriwarn version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtsetInternalMessages, | ||
| - | |||
| - | <code c> | ||
| - | SOMEXTERN void somtsetInternalMessages(char *too_long, char *cant_continue, | ||
| - | SOMEXTERN void SOMLINK somtsetInternalMessagesSL(char *too_long, char *cant_continue, | ||
| - | </ | ||
| - | |||
| - | Note: somtsetInternalMessages version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| ==== somtisvoid, somtisvoidSL function ==== | ==== somtisvoid, somtisvoidSL function ==== | ||
| Line 1265: | Line 1230: | ||
| Note: somtoidlComment version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtoidlComment version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ==== somtscmsg, somtscmsgSL function | + | ==== Message functions ==== |
| + | |||
| + | === somtscmsg, somtscmsgSL function === | ||
| <code c> | <code c> | ||
| Line 1273: | Line 1240: | ||
| Note: somtscmsg version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtscmsg version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | === somtmrifatal, | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void somtmrifatal(char *file, long lineno, int msgnum, | ||
| + | SOMEXTERN void SOMLINK somtmrifatalSL(char *file, long lineno, int msgnum, | ||
| + | </ | ||
| + | |||
| + | Note: somtmrifatal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | === somtmriinternal, | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void somtmriinternal(char *file, long lineno, int msgnum, | ||
| + | SOMEXTERN void SOMLINK somtmriinternalSL(char *file, long lineno, int msgnum, | ||
| + | </ | ||
| + | |||
| + | Note: somtmriinternal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | === somtmrierror, | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void somtmrierror(char *file, long lineno, int msgnum, | ||
| + | SOMEXTERN void SOMLINK somtmrierrorSL(char *file, long lineno, int msgnum, | ||
| + | </ | ||
| + | |||
| + | Note: somtmrierror version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | === somtmrimsg, somtmrimsgSL function === | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void somtmrimsg(char *file, long lineno, int msgnum, | ||
| + | SOMEXTERN void SOMLINK somtmrimsgSL(char *file, long lineno, int msgnum, | ||
| + | </ | ||
| + | |||
| + | Note: somtmrimsg version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | === somtmriwarn, | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void somtmriwarn(char *file, long lineno, int msgnum, | ||
| + | SOMEXTERN void SOMLINK somtmriwarnSL(char *file, long lineno, int msgnum, | ||
| + | </ | ||
| + | |||
| + | Note: somtmriwarn version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | === somtsetInternalMessages, | ||
| + | |||
| + | <code c> | ||
| + | SOMEXTERN void somtsetInternalMessages(char *too_long, char *cant_continue, | ||
| + | SOMEXTERN void SOMLINK somtsetInternalMessagesSL(char *too_long, char *cant_continue, | ||
| + | </ | ||
| + | |||
| + | Note: somtsetInternalMessages version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| ==== somtshortDefine, | ==== somtshortDefine, | ||
| Line 1407: | Line 1434: | ||
| Note: somtGetReintroducedMethods version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtGetReintroducedMethods version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== Symbol table support functions | + | ==== Symbol table support functions ==== |
| - | ===== somtallocBuf, | + | === somtallocBuf, |
| Note: somtallocBuf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtallocBuf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtuniqString, | + | === somtuniqString, |
| <code c> | <code c> | ||
| Line 1424: | Line 1451: | ||
| Note: somtuniqString version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtuniqString version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtkeyword, | + | === somtkeyword, |
| <code C> | <code C> | ||
| Line 1435: | Line 1462: | ||
| Note: somtkeyword version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtkeyword version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtaddEntry, | + | === somtaddEntry, |
| <code C> | <code C> | ||
| Line 1446: | Line 1473: | ||
| Note: somtaddEntry version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtaddEntry version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtgetEntry, | + | === somtgetEntry, |
| <code C> | <code C> | ||
| Line 1457: | Line 1484: | ||
| Note: somtgetEntry version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtgetEntry version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtstabFirst, | + | === somtstabFirst, |
| <code C> | <code C> | ||
| Line 1468: | Line 1495: | ||
| Note: somtstabFirst version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtstabFirst version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtstabNext, | + | === somtstabNext, |
| <code C> | <code C> | ||
| Line 1479: | Line 1506: | ||
| Note: somtstabNext version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtstabNext version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtstabFirstName, | + | === somtstabFirstName, |
| <code C> | <code C> | ||
| Line 1490: | Line 1517: | ||
| Note: somtstabFirstName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtstabFirstName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtstabNextName, | + | === somtstabNextName, |
| <code C> | <code C> | ||
| Line 1501: | Line 1528: | ||
| Note: somtstabNextName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtstabNextName version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtcreateMemBuf, | + | === somtcreateMemBuf, |
| <code c> | <code c> | ||
| Line 1510: | Line 1537: | ||
| Note: somtcreateMemBuf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtcreateMemBuf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtcreateStab, | + | === somtcreateStab, |
| <code C> | <code C> | ||
| Line 1521: | Line 1548: | ||
| Note: somtcreateStab version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtcreateStab version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somticstrcmp, | + | === somticstrcmp, |
| <code C> | <code C> | ||
| Line 1532: | Line 1559: | ||
| Note: somticstrcmp version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somticstrcmp version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtaddEntryBuf, | + | === somtaddEntryBuf, |
| <code C> | <code C> | ||
| Line 1543: | Line 1570: | ||
| Note: somtaddEntryBuf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtaddEntryBuf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== somtfreeStab, | + | === somtfreeStab, |
| <code c> | <code c> | ||
| Line 1552: | Line 1579: | ||
| Note: somtfreeStab version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | Note: somtfreeStab version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. | ||
| - | ===== 3. somFree Emitter Framework ===== | + | ===== somFree Emitter Framework ===== |
| ==== SOMTAttributeEntryC Class ==== | ==== SOMTAttributeEntryC Class ==== | ||




