Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/include/nolibc/stdarg.h
26288 views
1
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
2
/*
3
* Variadic argument support for NOLIBC
4
* Copyright (C) 2005-2020 Rich Felker, et al.
5
*/
6
7
#ifndef _NOLIBC_STDARG_H
8
#define _NOLIBC_STDARG_H
9
10
typedef __builtin_va_list va_list;
11
#define va_start(v, l) __builtin_va_start(v, l)
12
#define va_end(v) __builtin_va_end(v)
13
#define va_arg(v, l) __builtin_va_arg(v, l)
14
#define va_copy(d, s) __builtin_va_copy(d, s)
15
16
#endif /* _NOLIBC_STDARG_H */
17
18