How To Wait/Pause?
Posted: Wed Dec 09, 2009 1:45 am
how do you pause program execution for an amount of time? what i need to do is like the BASIC sleep command, so pause 5 miliseconds is SLEEP 5. how do i do this in ps2sdk? thx
Homebrew PS2, PSP & PS3 Development Discussions
https://forums.ps2dev.org./
Code: Select all
NAME
sleep -- suspend thread execution for an interval measured in seconds
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
unsigned int
sleep(unsigned int seconds);
Code: Select all
cheriff@lappy386:~/code/$ grep -R sleep ps2sdk/ee/libc/
ps2sdk/ee/libc/include/unistd.h:unsigned int sleep(unsigned int seconds);