summaryrefslogtreecommitdiffstats
path: root/src/bfstd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bfstd.h')
-rw-r--r--src/bfstd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bfstd.h b/src/bfstd.h
index 84f92ec..28f473e 100644
--- a/src/bfstd.h
+++ b/src/bfstd.h
@@ -463,6 +463,11 @@ long xsysconf(int name);
#define sysoption(name) \
(_POSIX_##name == 0 ? xsysconf(_SC_##name) : _POSIX_##name)
+/**
+ * Get the number of CPU threads available to the current process.
+ */
+long nproc(void);
+
#include <wchar.h>
/**