The time() function works correctly with the minimal libc, but always returns -1 with the newlib libc. This is due to the _gettimeofday hook being implemented that way. Fix that by calling gettimeofday in the _gettimeofday hook instead of returning -1. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> |
||
|---|---|---|
| .. | ||
| gui | ||
| libc | ||
| open-amp | ||
| os | ||
| posix | ||
| util | ||
| CMakeLists.txt | ||
| Kconfig | ||