summaryrefslogtreecommitdiff
path: root/src/system.h
blob: 3ff2ebb21726fb6605ef866ad05da4e48944863f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _BIRUDA_SYSTEM_HEADER_INCLUDED
#define _BIRUDA_SYSTEM_HEADER_INCLUDED

#include <sys/types.h>

unsigned int system_available_cpus( void );

void system_os( char *name, size_t len );

void system_arch( char *name, size_t len );

/* in kilobytes */
unsigned int system_phys_memory( );

#endif