Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 12:56:23 -0600
From:      fybar <fybar@powersurfr.com>
To:        freebsd-questions@freebsd.org
Subject:   pause in c program
Message-ID:  <3B3637D6.ABDB4B0@powersurfr.com>

next in thread | raw e-mail | index | archive | help
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.

--
fybar@nospam.powersurfr.com




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?3B3637D6.ABDB4B0>