~aleteoryx/muditaos

ref: 09950fa6b9b7e74fe066de83b8ac1593f43911cc muditaos/module-utils/time/time/time_syscalls.hpp -rw-r--r-- 429 bytes
09950fa6 — tomaszkrosnowski [EGD-4384] Status bar roaming indicator 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <sys/time.h>

namespace utils::internal::syscalls
{
    int gettimeofday(int &_errno_, struct timeval *tp, void *tzp);
    void tz_lock();
    void tz_unlock();
    void env_lock(int &_errno_);
    void env_unlock(int &_errno_);
} // namespace utils::internal::syscalls