xref: /freebsd/lib/libopenbsd/sys/sysctl.h (revision b3e76948)
1677640a2SCraig Rodrigues /*-
2677640a2SCraig Rodrigues  * Copyright (c) 2015 Craig Rodrigues
3677640a2SCraig Rodrigues  * All rights reserved.
4677640a2SCraig Rodrigues  *
5677640a2SCraig Rodrigues  * Redistribution and use in source and binary forms, with or without
6677640a2SCraig Rodrigues  * modification, are permitted provided that the following conditions
7677640a2SCraig Rodrigues  * are met:
8677640a2SCraig Rodrigues  * 1. Redistributions of source code must retain the above copyright
9677640a2SCraig Rodrigues  *    notice, this list of conditions and the following disclaimer.
10677640a2SCraig Rodrigues  * 2. Redistributions in binary form must reproduce the above copyright
11677640a2SCraig Rodrigues  *    notice, this list of conditions and the following disclaimer in the
12677640a2SCraig Rodrigues  *    documentation and/or other materials provided with the distribution.
13677640a2SCraig Rodrigues  *
14677640a2SCraig Rodrigues  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15677640a2SCraig Rodrigues  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16677640a2SCraig Rodrigues  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17677640a2SCraig Rodrigues  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18677640a2SCraig Rodrigues  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19677640a2SCraig Rodrigues  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20677640a2SCraig Rodrigues  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21677640a2SCraig Rodrigues  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22677640a2SCraig Rodrigues  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23677640a2SCraig Rodrigues  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24677640a2SCraig Rodrigues  * SUCH DAMAGE.
25677640a2SCraig Rodrigues  */
26677640a2SCraig Rodrigues 
27677640a2SCraig Rodrigues #ifndef _LIBOPENBSD_SYS_SYSCTL_H_
28677640a2SCraig Rodrigues #define _LIBOPENBSD_SYS_SYSCTL_H_
29677640a2SCraig Rodrigues 
30677640a2SCraig Rodrigues #include_next <sys/sysctl.h>
31677640a2SCraig Rodrigues 
32677640a2SCraig Rodrigues #ifndef KERN_PROC_NFDS
33677640a2SCraig Rodrigues #define	KERN_PROC_NFDS		43	/* number of open file descriptors */
34677640a2SCraig Rodrigues #endif
35677640a2SCraig Rodrigues 
36677640a2SCraig Rodrigues #endif /* _LIBOPENBSD_SYS_SYSCTL_H_ */
37