Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 16:22:23 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        fybar <fybar@powersurfr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pause in c program
Message-ID:  <3B364BFF.35063AF8@iowna.com>
References:  <3B3637D6.ABDB4B0@powersurfr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
fybar wrote:
> 
> I am a newbie programmer running FreeBSD  3.5.1 on my laptop, I have had
> 
> more success with this version with pcmcia cards.  Anyhoo, I am writing
> a program that I want to have print out some lines at a certain tempo.
> Is
> there a function that will let me pause the program for a specified
> amount of time?
> 
> I tried sleep, but I got some errors during the compile.  Is there a way
> 
> to call UNIX commands from a c program?
> 
> My compiler is gcc 2.7.

man 3 sleep

-- 
If a bird in the hand is worth two in the bush,
then what can I get for two hands in the bush?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B364BFF.35063AF8>