~aleteoryx/muditaos

ref: 915f3334c3a75e6ba24ba1281a8acb4abb8289c3 muditaos/board/linux/libiosyscalls/src/syscalls_common.hpp -rw-r--r-- 298 bytes
915f3334 — Dawid Wojtas [MOS-549] Linux simulator crashes on GCC12 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

extern "C"
{
#if __GLIBC__ > 2 || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 33))
    int _iosys_stat(const char *file, struct stat *pstat);
#endif
}