| N F O _ I S C O N S O L E ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English INDEP - NFO_#?
----------------------------------------------------------------------------
NAME
nfo_isconsole() - Check if string equals to '*' or
'CONSOLE:'.
SYNOPSIS
res = nfo_isconsole(ptr, len);
BOOL nfo_isconsole(UBYTE *, LONG);
FUNCTION
This func. allows to check if given string equals
to std console input as then passed to the 'Open()'
function.
INPUTS
ptr - NULL or non-NULL terminated text pointer.
len - Length of that text.
RETURNS
Returns TRUE if string is a potential console call
or FALSE otherwise.
BASES
None.
NOTES
This func. does not compare on byte by byte basis
but uses bitwise ops which should be faster than
'txt_stricmp()' or 'txt_memicmp()'. The comparison
is case insensitive!
SEE ALSO
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |