Archived

This topic is now archived and is closed to further replies.

Kojo

Beginners question....

Recommended Posts

Kojo    122
Anyone know of a command for OS X that works like windows''s "sleep(x)"? (or w/e it''s called, i just want to make the console wait for a certain amount of time before continuing)

Share this post


Link to post
Share on other sites
SiCrane    11839
usleep(), which also in the unistd.h header. If you had looked up sleep()''s manpage on an OS X system, it should have listed usleep() in the "see also" section.

Share this post


Link to post
Share on other sites