diff options
Diffstat (limited to 'src/utils/os_none.c')
-rw-r--r-- | src/utils/os_none.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/utils/os_none.c b/src/utils/os_none.c index cabf73bd87fc..83fe025167b6 100644 --- a/src/utils/os_none.c +++ b/src/utils/os_none.c @@ -26,6 +26,12 @@ int os_get_time(struct os_time *t) } +int os_get_reltime(struct os_reltime *t) +{ + return -1; +} + + int os_mktime(int year, int month, int day, int hour, int min, int sec, os_time_t *t) { @@ -212,6 +218,11 @@ size_t os_strlcpy(char *dest, const char *src, size_t size) } +int os_memcmp_const(const void *a, const void *b, size_t len) +{ + return 0; +} + char * os_strstr(const char *haystack, const char *needle) { return NULL; @@ -223,3 +234,9 @@ int os_snprintf(char *str, size_t size, const char *format, ...) return 0; } #endif /* OS_NO_C_LIB_DEFINES */ + + +int os_exec(const char *program, const char *arg, int wait_completion) +{ + return -1; +} |