AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     13 (Check for presence of FS)
     R1 =     filing system number or pointer to name
     R2 =     depends on R1
<=     R0 preserved
     R1 =     filing system number
     R2 =     pointer to filing system control block or 0 if not found

The FS name match is case-insensitive. If R2 is 0, the FS name is taken to be terminated with any control character or the characters: "#",":" or "-". If R2 is not 0, then the FS name is terminated by any control character.

The FS control block that is pointed to by R2 on exit is for the internal use of FileSwitch, and you should not use or alter it. You should only test R2 for equality (or not) with 0.

An error is returned if the FS name contains bad chars or is badly terminated.

See also:     PRM2-94

[sh-index] Back to list of manuals