en:docs:tk:som:sc:pr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:tk:som:sc:pr [2024/10/09 03:59] prokusheven:docs:tk:som:sc:pr [2025/04/08 14:50] (current) – [somtfatal, somtfatalSL function] prokushev
Line 380: Line 380:
 SOMEXTERN int SOMLINK somtargFlagSL(int *argc, char ***argv); SOMEXTERN int SOMLINK somtargFlagSL(int *argc, char ***argv);
 </code> </code>
 +
 +Search command line for argument flag (starting with "-") and return its name.
  
 Note: somtargFlag version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  Note: somtargFlag version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. 
Line 434: Line 436:
  
 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. 
-==== somtmget, somtmgetSL function ==== 
  
-<code c> 
-SOMEXTERN int somtmget(int setnum, int msgnum, char *msgbuf); 
-SOMEXTERN int SOMLINK somtmgetSL(int setnum, int msgnum, char *msgbuf); 
-</code> 
- 
-Note: somtmget version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  
-==== somtmopen, somtmopenSL function ==== 
- 
-<code c> 
-SOMEXTERN int somtmopen(char *filename); 
-SOMEXTERN int SOMLINK somtmopenSL(char *filename); 
-</code> 
- 
-Note: somtmopen version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  
-==== somtmprintf, somtmprintfSL function ==== 
- 
-<code c> 
-SOMEXTERN int somtmprintf(int setnum, int msgnum, ...); 
-SOMEXTERN int SOMLINK somtmprintfSL(int setnum, int msgnum, ...); 
-</code> 
  
-Note: somtmprintf version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  
 ==== somtokremove, somtokremoveSL function ==== ==== somtokremove, somtokremoveSL function ====
  
Line 531: Line 511:
  
 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. 
-==== somterrorsomterrorSL function ====+==== somtfatalsomtfatalSL function ====
  
 <code c> <code c>
-SOMEXTERN void somterror(char *file, long lineno, char *fmt, ...); +SOMEXTERN void OPTLINK somtfatal(char *file, long lineno, char *fmt, ...);
-SOMEXTERN void SOMLINK somterrorSL(char *file, long lineno, char *fmt, ...);+
 </code> </code>
  
-Notesomterror version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink +Used by: IBM SOM 2.NT in SOMIPC.EXE
-==== somtfatal, somtfatalSL function ====+
  
 <code c> <code c>
-SOMEXTERN void somtfatal(char *file, long lineno, char *fmt, ...); 
 SOMEXTERN void SOMLINK somtfatalSL(char *file, long lineno, char *fmt, ...); SOMEXTERN void SOMLINK somtfatalSL(char *file, long lineno, char *fmt, ...);
 </code> </code>
  
-Notesomtfatal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. +Used by 
 + 
 ==== somtinternal, somtinternalSL function ==== ==== somtinternal, somtinternalSL function ====
  
Line 555: Line 534:
  
 Note: somtinternal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  Note: somtinternal version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. 
-==== somtmclose, somtmcloseSL function ==== 
  
-<code c> 
-SOMEXTERN void somtmclose(void); 
-SOMEXTERN void SOMLINK somtmcloseSL(void); 
-</code> 
- 
-Note: somtmclose version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  
-==== somtmsg, somtmsgSL function ==== 
- 
-<code c> 
-SOMEXTERN void somtmsg(char *file, long lineno, char *fmt, ...); 
-SOMEXTERN void SOMLINK somtmsgSL(char *file, long lineno, char *fmt, ...); 
-</code> 
  
-Note: somtmsg version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  
 ==== somtreadDescFile, somtreadDescFileSL function ==== ==== somtreadDescFile, somtreadDescFileSL function ====
  
Line 627: Line 592:
  
 Note: somtunsetEmitSignals version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  Note: somtunsetEmitSignals version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink. 
-==== somtwarn, somtwarnSL function ==== 
- 
-<code c> 
-SOMEXTERN void somtwarn(char *file, long lineno, char *fmt, ...); 
-SOMEXTERN void SOMLINK somtwarnSL(char *file, long lineno, char *fmt, ...); 
-</code> 
  
-Note: somtwarn version uses default compiler calling convention. For IBM SOM 3.0 for NT it is Optlink.  
 ==== somtuppercase, somtuppercaseSL function ==== ==== somtuppercase, somtuppercaseSL function ====