~aleteoryx/muditaos

ref: 09761da170faa207c5d899d2132a3cc67dad5a31 muditaos/module-utils/time/time_syscalls.hpp -rw-r--r-- 429 bytes
09761da1 — DariuszSabala [BH-369] Fixed UTF8 unit test CI run 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