| 1 | /*- |
| 2 | * SPDX-License-Identifier: BSD-2-Clause |
| 3 | * |
| 4 | * Copyright (c) 2024 SRI International |
| 5 | * |
| 6 | * This software was developed by SRI International, the University of |
| 7 | * Cambridge Computer Laboratory (Department of Computer Science and |
| 8 | * Technology), and Capabilities Limited under Defense Advanced Research |
| 9 | * Projects Agency (DARPA) Contract No. FA8750-24-C-B047 ("DEC"). |
| 10 | */ |
| 11 | |
| 12 | #ifndef _LIBSYS_H_ |
| 13 | #define _LIBSYS_H_ |
| 14 | |
| 15 | #include <sys/types.h> |
| 16 | |
| 17 | #include <_libsys.h> |
| 18 | |
| 19 | typedef int (__sys_syscall_t)(int number, ...); |
| 20 | typedef int (__sys___syscall_t)(int64_t number, ...); |
| 21 | |
| 22 | int	__sys_syscall(int number, ...); |
| 23 | off_t	__sys___syscall(int64_t number, ...); |
| 24 | |
| 25 | #endif	/* _LIBSYS_H_ */ |