<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Make app &amp;quot;wait&amp;quot; for &amp;quot;x&amp;quot; seconds</title>
<description> My app i&amp;#039;m working on moves too fast for the user to see the text outputted.
I&amp;#039;m new to all this and am not sure how to make my app &quot;wait&quot; for &quot;x&quot; seconds, then continue. I really need this.

writing under latest libogc release and devkitpro pack.</description><link>http://forum.wiibrew.org/read.php?11,6747,6747#msg-6747</link><lastBuildDate>Mon, 07 Sep 2026 20:43:05 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6757#msg-6757</guid>
<title>Re: Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6757#msg-6757</link><description><![CDATA[ You guys are awsome! Thanks for the quick reply to what must seem to be a real noob question. I want to make sure you know how much I appreciate it :)<br /><br /><br />Just so it&#039;s known. I&#039;m working on an app that someone else has requested.<br /><br />I call it "/Quit".<br />It&#039;s super basic - It&#039;s my first release so yea hehe.<br /><br />It seeks for a disc in the drive, if one is present it ejects it. Then it shutsdown the Wii to "Red" standby mode.<br /><br />Like I said, someone had requested this to be written so I figured it&#039;d be a great one for me to "learn" with :)<br /><br />Through out the steps in the app, it displays it&#039;s current actions (seek/eject/shutdown), so thats why I needed it to "sleep" since these functions complete so fast.<br /><br />Thanks again and I&#039;ll make sure to place the source/release package up on wiibrew.org when I&#039;m done.]]></description>
<dc:creator>ToNoobIsHuman</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 09:07:48 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6756#msg-6756</guid>
<title>Re: Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6756#msg-6756</link><description><![CDATA[ If you wish to remove the warning message add in:<br /><pre class="bbcode">
#include &lt; unistd.h &gt;</pre>
(remove the spaces between the &lt; and &gt;.)]]></description>
<dc:creator>teknecal</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 08:54:01 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6755#msg-6755</guid>
<title>Re: Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6755#msg-6755</link><description><![CDATA[ Sorry, there&#039;s two definitions of sleep() - one is msecs, other is secs. Never used sleep() on the Wii myself. If you need small increments use usleep() or nanosleep()<br /><br />Syntax for usleep is usleep(500000); - will wait 1/2 sec (this I&#039;m sure about) ;)]]></description>
<dc:creator>Tantric</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 08:40:11 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6754#msg-6754</guid>
<title>Re: Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6754#msg-6754</link><description><![CDATA[ Tried sleep(5) and it waited 5 seconds... lol my app was working, just wanted to wait 5000 seconds based on your recommendation :P<br /><br />NP prob resolved, thanks so much :)]]></description>
<dc:creator>ToNoobIsHuman</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 08:37:54 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6750#msg-6750</guid>
<title>Re: Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6750#msg-6750</link><description><![CDATA[ Got this in output/debug:<br /><br />warning: implicit declaration of function &#039;sleep&#039;<br /><br /><br />Tried anyway and it just froze after the first "sleep()" called.<br /><br />Any suggestions?]]></description>
<dc:creator>ToNoobIsHuman</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 08:24:33 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6748#msg-6748</guid>
<title>Re: Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6748#msg-6748</link><description><![CDATA[ sleep(1000) will wait for 1000 msecs or 1 second.]]></description>
<dc:creator>Tantric</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 08:13:15 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,6747,6747#msg-6747</guid>
<title>Make app &quot;wait&quot; for &quot;x&quot; seconds</title><link>http://forum.wiibrew.org/read.php?11,6747,6747#msg-6747</link><description><![CDATA[ My app i&#039;m working on moves too fast for the user to see the text outputted.<br />I&#039;m new to all this and am not sure how to make my app "wait" for "x" seconds, then continue. I really need this.<br /><br />writing under latest libogc release and devkitpro pack.]]></description>
<dc:creator>ToNoobIsHuman</dc:creator>
<category>Coding</category><pubDate>Sat, 03 Jan 2009 08:10:55 +0100</pubDate></item>
</channel>
</rss>