llvm/libc/src/__support/OSUtil/linux/x86_64/syscall.h

//===---------- inline implementation of x86_64 syscalls ----------* C++ *-===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_LINUX_X86_64_SYSCALL_H
#define LLVM_LIBC_SRC___SUPPORT_OSUTIL_LINUX_X86_64_SYSCALL_H

#include "src/__support/common.h"
#include "src/__support/macros/config.h"

#define SYSCALL_CLOBBER_LIST

namespace LIBC_NAMESPACE_DECL {

LIBC_INLINE long syscall_impl(long __number) {}

LIBC_INLINE long syscall_impl(long __number, long __arg1) {}

LIBC_INLINE long syscall_impl(long __number, long __arg1, long __arg2) {}

LIBC_INLINE long syscall_impl(long __number, long __arg1, long __arg2,
                              long __arg3) {}

LIBC_INLINE long syscall_impl(long __number, long __arg1, long __arg2,
                              long __arg3, long __arg4) {}

LIBC_INLINE long syscall_impl(long __number, long __arg1, long __arg2,
                              long __arg3, long __arg4, long __arg5) {}

LIBC_INLINE long syscall_impl(long __number, long __arg1, long __arg2,
                              long __arg3, long __arg4, long __arg5,
                              long __arg6) {}

#undef SYSCALL_CLOBBER_LIST
} // namespace LIBC_NAMESPACE_DECL

#endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_LINUX_X86_64_SYSCALL_H