Re: ask about sleep function
Re: ask about sleep function
- Subject: Re: ask about sleep function
- From: Daryn <email@hidden>
- Date: Sun, 28 Jul 2002 23:59:38 -0500
Per "man 3 sleep":
#include <unistd.h>
On Monday, July 29, 2002, at 12:00 AM, Chong Hiu Pun wrote:
But when I type
sleep(2000);
Error:
implicit declaration of function 'int sleep(...)'
How can I resolve it?thanks!
----- Original Message -----
From: "John Haager" <email@hidden>
To: "Chong Hiu Pun" <email@hidden>
Cc: <email@hidden>
Sent: Monday, July 29, 2002 12:50 PM
Subject: Re: ask about sleep function
Since Objective C is just an extension to C, the sleep() function works
just fine.
John
On Sunday, July 28, 2002, at 09:41 PM, Chong Hiu Pun wrote:
In cocoa, is there a function similar to sleep? e.g I want the
program
to
pause for 2 seconds.Thanks!
Mr Chong
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
-> John Haager <-
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.