mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Related-To: NEO-4208 Change-Id: Ia4405745d1ae22f03ce344a92f2b664ef6e1b957 Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
28 lines
463 B
C++
28 lines
463 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/os_interface/linux/sys_calls.h"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
namespace SysCalls {
|
|
uint32_t closeFuncCalled = 0u;
|
|
int closeFuncArgPassed = 0;
|
|
|
|
int close(int fileDescriptor) {
|
|
closeFuncCalled++;
|
|
closeFuncArgPassed = fileDescriptor;
|
|
return 0;
|
|
}
|
|
|
|
int open(const char *file, int flags) {
|
|
return 0;
|
|
}
|
|
} // namespace SysCalls
|
|
} // namespace NEO
|