GRASS GIS 8 Programmer's Manual
8.3.2(2024)-exported
Loading...
Searching...
No Matches
sleep.c
Go to the documentation of this file.
1
#include <grass/config.h>
2
#ifndef __MINGW32__
3
#include <unistd.h>
4
#endif
5
#ifdef __MINGW32__
6
#include <windows.h>
7
#endif
8
#include <grass/gis.h>
9
10
/* Sleep */
11
void
G_sleep
(
unsigned
int
seconds)
12
{
13
#ifdef __MINGW32__
14
/* note: Sleep() cannot be interrupted */
15
Sleep((seconds)*1000);
16
#else
17
sleep(seconds);
18
#endif
19
}
G_sleep
void G_sleep(unsigned int seconds)
Definition
sleep.c:11
gis
sleep.c
Generated on Fri May 24 2024 09:06:59 for GRASS GIS 8 Programmer's Manual by
1.9.8