Article View: fr.comp.lang.c
Article #15127Re: notion de temps
From: Emmanuel Delahaye
Date: Wed, 05 Oct 2005 17:32
Date: Wed, 05 Oct 2005 17:32
23 lines
1672 bytes
1672 bytes
gil wrote on 05/10/05 : > Bonjour � vous, > > je cherche � faire un tout petit programme (en c biens�r) du genre de sleep > (unix) > qui me permettre d'attendre un certain temps en seconde avant d'ex�cuter > d'autres commandes dans un script batch. > > #!/sh > sleep 3 > > Comment avoir une notion de temps en C ? <time.h>, time()... -- Emmanuel The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html The C-library: http://www.dinkumware.com/refxc.html "It's specified. But anyone who writes code like that should be transmogrified into earthworms and fed to ducks." -- Chris Dollin CLC
Technical Details
Message-ID:
<mn.2c947d5a76f5c724.15512@YOURBRAnoos.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!npeer.de.kpn-eurorings.net!proxad.net!infeed-1.proxad.net!news6-e.free.fr!not-for-mailReferences:
<dhuute$h61$1@apollon.grec.isp.9tel.net>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,4e02ca09709eaded X-Google-Attributes: gidf9822,public X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!npeer.de.kpn-eurorings.net!proxad.net!infeed-1.proxad.net!news6-e.free.fr!not-for-mail Subject: Re: notion de temps From: "Emmanuel Delahaye" <emdel@YOURBRAnoos.fr> References: <dhuute$h61$1@apollon.grec.isp.9tel.net> Newsgroups: fr.comp.lang.c Message-ID: <mn.2c947d5a76f5c724.15512@YOURBRAnoos.fr> X-Newsreader: MesNews/1.04.00.00-fr Date: Wed, 05 Oct 2005 19:32:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Lines: 25 Organization: Guest of ProXad - France NNTP-Posting-Date: 05 Oct 2005 19:32:51 MEST NNTP-Posting-Host: 81.65.109.202 X-Trace: 1128533571 news6-e.free.fr 12608 81.65.109.202:29647 X-Complaints-To: abuse@proxad.net