mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 03:46:03 -04:00
31 lines
670 B
C
31 lines
670 B
C
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
|
|
#ifndef ISC_OS_H
|
|
#define ISC_OS_H 1
|
|
|
|
/*! \file isc/os.h */
|
|
|
|
#include <isc/lang.h>
|
|
|
|
ISC_LANG_BEGINDECLS
|
|
|
|
unsigned int
|
|
isc_os_ncpus(void);
|
|
/*%<
|
|
* Return the number of CPUs available on the system, or 1 if this cannot
|
|
* be determined.
|
|
*/
|
|
|
|
ISC_LANG_ENDDECLS
|
|
|
|
#endif /* ISC_OS_H */
|