xref: /llvm-project/libc/src/unistd/syscall.h (revision 7477b61b2416ca130bd3ed9bbc96988e5de17623)
11801c356SMichael Jones //===-- Implementation header for syscall -----------------------*- C++ -*-===//
21801c356SMichael Jones //
31801c356SMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
41801c356SMichael Jones // See https://llvm.org/LICENSE.txt for license information.
51801c356SMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
61801c356SMichael Jones //
71801c356SMichael Jones //===----------------------------------------------------------------------===//
81801c356SMichael Jones 
91801c356SMichael Jones #ifndef LLVM_LIBC_SRC_UNISTD_SYSCALL_H
101801c356SMichael Jones #define LLVM_LIBC_SRC_UNISTD_SYSCALL_H
111801c356SMichael Jones 
12*7477b61bSTristan Ross #include "hdr/unistd_macros.h"
135ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
141801c356SMichael Jones #include <stdarg.h>
151801c356SMichael Jones 
165ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
171801c356SMichael Jones 
18d4041301Salfredfo long __llvm_libc_syscall(long number, long arg1, long arg2, long arg3,
191801c356SMichael Jones                          long arg4, long arg5, long arg6);
201801c356SMichael Jones 
215ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
221801c356SMichael Jones 
231801c356SMichael Jones #endif // LLVM_LIBC_SRC_UNISTD_SYSCALL_H
24