Shell Commands/WaitForLib

From MorphOS Library

< Shell Commands

WaitForLib - Waits 10 seconds for library to appear


LIBNAME  - Name of the library to wait for
INTERVAL - Number of seconds between each check for a library (default = 1).
LOOP     - Number of times to check for library (default = 11 (0 = infinite)).

NOTE: WaitForLib waits the given number of seconds after each check, thus the total number of seconds is not INTERVAL*LOOP, but INTERVAL*(LOOP-1)!