mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
system/helpers.cpp: add return value for mySleep()
This commit is contained in:
@@ -47,12 +47,12 @@
|
||||
#include <gui/update_ext.h>
|
||||
using namespace std;
|
||||
|
||||
void mySleep(int sec) {
|
||||
int mySleep(int sec) {
|
||||
struct timeval timeout;
|
||||
|
||||
timeout.tv_sec = sec;
|
||||
timeout.tv_usec = 0;
|
||||
select(0,0,0,0, &timeout);
|
||||
return select(0,0,0,0, &timeout);
|
||||
}
|
||||
|
||||
off_t file_size(const char *filename)
|
||||
|
Reference in New Issue
Block a user