Article View: fr.comp.lang.c
Article #15202Re: notion de temps
From: Johann.D
Date: Wed, 05 Oct 2005 06:37
Date: Wed, 05 Oct 2005 06:37
28 lines
1846 bytes
1846 bytes
"Harpo" <trashcan@hotmail.com> a �crit dans le message de news:43436b23$0$1026$8fcfb975@news.wanadoo.fr... > gil wrote: > > > 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. > > Je ne sais pas si �a existe ailleurs que sous unix : > #include <unistd.h> > unsigned int sleep( unsigned int secondes ); Win32 : #include <windows.h> void Sleep(DWORD dwMilliseconds); Cela dit si l'ambition c'est de disposer d'un sleep.exe (ou m�me usleep.exe) pour les scripts batch (Win32 ?), je crois qu'il suffit de googleliser et de downloader. -- Johann.D
Technical Details
Message-ID:
<434374a9$0$27449$8fcfb975@news.wanadoo.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mailReferences:
<dhuute$h61$1@apollon.grec.isp.9tel.net> <43436b23$0$1026$8fcfb975@news.wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,4e02ca09709eaded X-Google-Attributes: gidf9822,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Reply-To: "Johann.D" <john.doe@pro-active.fr> From: "Johann.D" <johann-dot-d@pro-active.fr.INVALID> Newsgroups: fr.comp.lang.c References: <dhuute$h61$1@apollon.grec.isp.9tel.net> <43436b23$0$1026$8fcfb975@news.wanadoo.fr> Subject: Re: notion de temps Date: Wed, 5 Oct 2005 08:37:29 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Antivirus: avast! (VPS 0540-1, 04/10/2005), Outbound message X-Antivirus-Status: Not-Tested Lines: 30 Message-ID: <434374a9$0$27449$8fcfb975@news.wanadoo.fr> Organization: les newsgroups par Wanadoo NNTP-Posting-Date: 05 Oct 2005 08:37:29 CEST NNTP-Posting-Host: 80.11.130.18 X-Trace: 1128494249 news.wanadoo.fr 27449 80.11.130.18:54199 X-Complaints-To: abuse@wanadoo.fr