_CP_sleep is equivalent to the sleep(string) BASIC statement.
Syntax
int _CP_sleep(CPSTR* string) |
Description
This function returns -1 if an error occurs. The error code is contained in _CP_errno.
Example(s)
/* sleep 5 seconds */
CPSTR * s = _CP_mkstr("5"); _CP_sleep(s); _CP_str_free(s); |
See Also