opnsense-src/sys/tools/syscalls/examples/cpp/test_syscalls.map
Brooks Davis 9355ad0b0b makesyscalls: emit cpp in syscalls.map
If there are per-platform differences in which syscalls are supported,
we should only try to export implemented ones in libc.  Fortunately,
syscall maps are run though cpp.  This is arguably incomplete as
syscall.mk isn't (and can't practically be) supported.

Reviewed by:	kevans
Sponsored by:	DARPA, AFRL
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1575
2025-02-18 22:03:33 +00:00

18 lines
244 B
Text

/*
* FreeBSD system call symbols.
*
* DO NOT EDIT-- this file is automatically @generated.
*/
FBSDprivate_1.0 {
#ifdef PLATFORM_FOO
_syscall1;
__sys_syscall1;
#else
#endif
#ifdef PLATFORM_FOO
#else
_syscall2;
__sys_syscall2;
#endif
};