blob: 77b7ff2316ac7df61fe79b98980d5b18a62b8b17 [file] [edit]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Linux implementation of sync.
///
//===----------------------------------------------------------------------===//
#include "src/unistd/sync.h"
#include "src/__support/OSUtil/linux/syscall_wrappers/sync.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(void, sync, ()) { linux_syscalls::sync(); }
} // namespace LIBC_NAMESPACE_DECL