Attach bind-9.2.4rc4 to the base system. Rip out bind-8 binaries and add
[dragonfly.git] / usr.sbin / named / include / isc / os.h
1 /*
2  * Copyright (C) 2000, 2001  Internet Software Consortium.
3  *
4  * Permission to use, copy, modify, and distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
9  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
10  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
11  * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
12  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
13  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
14  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
15  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17
18 /* $Id: os.h,v 1.5 2001/01/09 21:57:19 bwelling Exp $ */
19 /* $DragonFly: src/usr.sbin/named/include/isc/os.h,v 1.1 2004/05/27 18:15:42 dillon Exp $ */
20
21 #ifndef ISC_OS_H
22 #define ISC_OS_H 1
23
24 #include <isc/lang.h>
25
26 ISC_LANG_BEGINDECLS
27
28 unsigned int
29 isc_os_ncpus(void);
30 /*
31  * Return the number of CPUs available on the system, or 1 if this cannot
32  * be determined.
33  */
34
35 ISC_LANG_ENDDECLS
36
37 #endif /* ISC_OS_H */