LINUX programming

Moderators: ITA
Number of threads: 1347
Number of posts: 2935

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
GCC and delay Posted by fnoyan on 1 Sept 2003 at 6:38 AM
hi
is there a function that makes the same thing with the delay()function of Turbo C.

Thanks...
Report
Re: GCC and delay Posted by Xfactor on 1 Sept 2003 at 9:41 AM
: hi
: is there a function that makes the same thing with the delay()function of Turbo C.
:
: Thanks...

I'm not familiar with Turbo C, so I might be making a fool of myself. Won't be the first time so..
There is a function in C named sleep()
Hope this is what you're looking for.

Report
Re: GCC and delay Posted by kor on 9 Sept 2003 at 1:36 PM
: : hi
: : is there a function that makes the same thing with the delay()function of Turbo C.
: :
: : Thanks...
:
: I'm not familiar with Turbo C, so I might be making a fool of myself. Won't be the first time so..
: There is a function in C named sleep()
: Hope this is what you're looking for.

I think there's a syscall for it, too. I know there's one in freebsd, and I believe the syscalls are the same.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.