opnsense-src/sys/tools/syscalls/examples/cpp/test_syscalls.c
Kyle Evans 53fae788f2 sys: syscalls: add a test syscall definition file
This exercises some subset of the preprocessor that would be nice to
still support.

Pull Request:	https://github.com/freebsd/freebsd-src/pull/1575
2025-02-18 22:02:19 +00:00

19 lines
386 B
C

/*
* System call names.
*
* DO NOT EDIT-- this file is automatically @generated.
*/
const char *test_syscallnames[] = {
"#0", /* 0 = unimpl_syscall0 */
#ifdef PLATFORM_FOO
"syscall1", /* 1 = syscall1 */
#else
"#1", /* 1 = reserved for local use */
#endif
#ifdef PLATFORM_FOO
"obs_syscall2", /* 2 = obsolete syscall2 */
#else
"syscall2", /* 2 = syscall2 */
#endif
};