Import xz-5.0.0.
[dragonfly.git] / contrib / xz / src / common / tuklib_cpucores.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       tuklib_cpucores.h
4 /// \brief      Get the number of CPU cores online
5 //
6 //  Author:     Lasse Collin
7 //
8 //  This file has been put into the public domain.
9 //  You can do whatever you want with this file.
10 //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef TUKLIB_CPUCORES_H
14 #define TUKLIB_CPUCORES_H
15
16 #include "tuklib_common.h"
17 TUKLIB_DECLS_BEGIN
18
19 #define tuklib_cpucores TUKLIB_SYMBOL(tuklib_cpucores)
20 extern uint32_t tuklib_cpucores(void);
21
22 TUKLIB_DECLS_END
23 #endif