1 /*
2  * Copyright (C) 2006 Adam Kropelin
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of version 2 of the GNU General
6  * Public License as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public
14  * License along with this program; if not, write to the Free
15  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16  * MA 02110-1335, USA.
17  */
18 
19 #include <unistd.h>
20 #include "winapi.h"
21 
sleep(unsigned int seconds)22 unsigned int sleep(unsigned int seconds)
23 {
24    Sleep(seconds * 1000);
25    return 0;
26 }
27