home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / pure_src / s.src < prev    next >
Encoding:
Text File  |  1993-02-04  |  2.5 KB  |  83 lines

  1. screen( capsensitive("Salert"))
  2. NAME
  3.     Salert - print a warning or error message
  4.  
  5. SYNOPSIS
  6.     void Salert( char *msg );
  7.  
  8. DESCRIPTION
  9.     Salert sends a warning or error message to the alert pipe,
  10.     U:\\PIPE\\ALERT. The argument msg is a 0 terminated ASCII
  11.     string containing the message to be sent. The message should
  12.     not contain any carriage return, line feed, or escape
  13.     characters;it should be a simple one line warning or error
  14.     message which is to be brought to the user's attention.
  15.  
  16.     The Salert call takes whatever steps are necessary to format
  17.     this string and send it to the user; the exact form of the
  18.     output (or even whether the output is seen at all) depends
  19.     on the system configuration.
  20.  
  21. SEE ALSO
  22.     \#Cconws\#
  23.  
  24. BUGS
  25.     The message is not guaranteed to be delivered to the user
  26.     (users may turn alert messages off). Therefore, absolutely
  27.     critical or fatal errors should be delivered to the user in
  28.     a different fashion.
  29.  
  30.     Messages longer than 90 characters may be truncated; also,
  31.     if any word in the message is longer than 30 characters it
  32.     may not be printed in full (a word is any sequence of non-blank
  33.     characters).
  34.  
  35. Last change: Dec. 16, 1992\end
  36.  
  37. screen( capsensitive("Syield"))
  38. NAME
  39.     Syield - give up the processor
  40.  
  41. SYNOPSIS
  42.     void Syield(void);
  43.  
  44. DESCRIPTION
  45.     Syield gives up control of the processor temporarily.
  46.  
  47. SEE ALSO
  48.     \#Pause\#, \#Fselect\#
  49.     
  50. BUGS
  51.     Doing Syield in a tight loop can still consume a fair amount
  52.     of processor time. Use \#Fselect\# or \#Talarm\# and \#Pause\# instead
  53.     if possible.
  54.     
  55. Last change: Oct. 1, 1991\end
  56.  
  57. screen (capsensitive("Sysconf"))
  58. NAME
  59.     Sysconf - get information about operating system configuration
  60.  
  61. SYNOPSIS
  62.     LONG Sysconf(WORD n);
  63.  
  64. DESCRIPTION
  65.     Sysconf returns information about various limits or capabilities 
  66.     of the currently running version of MiNT. The variable n controls 
  67.     which limit or capability is being queried, as follows:
  68.  
  69.         n   Value Returned
  70.  
  71.        -1   return max. legal value for n in Sysconf(n)
  72.         0   return max. number of memory regions per process
  73.         1   return max. length of Pexec() command line string
  74.         2   return max. number of open files per process
  75.         3   return number of supplementary group id's
  76.         4   return max. number of processes per user
  77.     If any of these items are unlimited, then 0x7fffffffL is returned.
  78.  
  79. SEE ALSO
  80.     \#Dpathconf\#
  81.     
  82. Last change: Oct. 1, 1991\end
  83.