home *** CD-ROM | disk | FTP | other *** search
- screen( capsensitive("Salert"))
- NAME
- Salert - print a warning or error message
-
- SYNOPSIS
- void Salert( char *msg );
-
- DESCRIPTION
- Salert sends a warning or error message to the alert pipe,
- U:\\PIPE\\ALERT. The argument msg is a 0 terminated ASCII
- string containing the message to be sent. The message should
- not contain any carriage return, line feed, or escape
- characters;it should be a simple one line warning or error
- message which is to be brought to the user's attention.
-
- The Salert call takes whatever steps are necessary to format
- this string and send it to the user; the exact form of the
- output (or even whether the output is seen at all) depends
- on the system configuration.
-
- SEE ALSO
- \#Cconws\#
-
- BUGS
- The message is not guaranteed to be delivered to the user
- (users may turn alert messages off). Therefore, absolutely
- critical or fatal errors should be delivered to the user in
- a different fashion.
-
- Messages longer than 90 characters may be truncated; also,
- if any word in the message is longer than 30 characters it
- may not be printed in full (a word is any sequence of non-blank
- characters).
-
- Last change: Dec. 16, 1992\end
-
- screen( capsensitive("Syield"))
- NAME
- Syield - give up the processor
-
- SYNOPSIS
- void Syield(void);
-
- DESCRIPTION
- Syield gives up control of the processor temporarily.
-
- SEE ALSO
- \#Pause\#, \#Fselect\#
-
- BUGS
- Doing Syield in a tight loop can still consume a fair amount
- of processor time. Use \#Fselect\# or \#Talarm\# and \#Pause\# instead
- if possible.
-
- Last change: Oct. 1, 1991\end
-
- screen (capsensitive("Sysconf"))
- NAME
- Sysconf - get information about operating system configuration
-
- SYNOPSIS
- LONG Sysconf(WORD n);
-
- DESCRIPTION
- Sysconf returns information about various limits or capabilities
- of the currently running version of MiNT. The variable n controls
- which limit or capability is being queried, as follows:
-
- n Value Returned
-
- -1 return max. legal value for n in Sysconf(n)
- 0 return max. number of memory regions per process
- 1 return max. length of Pexec() command line string
- 2 return max. number of open files per process
- 3 return number of supplementary group id's
- 4 return max. number of processes per user
- If any of these items are unlimited, then 0x7fffffffL is returned.
-
- SEE ALSO
- \#Dpathconf\#
-
- Last change: Oct. 1, 1991\end
-