1 /* 2 * Copyright 2024 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _DEVCTL_H_ 6 #define _DEVCTL_H_ 7 8 #include <sys/types.h> 9 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 int posix_devctl(int fd, int cmd, void* __restrict argument, size_t size, int* __restrict result); 16 17 #ifdef __cplusplus 18 } 19 #endif 20 21 22 #endif // _DEVCTL_H_ 23