_CP_time is equivalent to the result = time() BASIC statement.
int _CP_time(int* result)
This function returns -1 if an error occurs. The error code is contained in _CP_errno.
/* Prints the numeric time. */ int i; _CP_time(&i); _CP_unix_env(); printf("%d\n",i);