write documentation about getoptions

This commit is contained in:
2025-08-20 13:27:40 +02:00
parent 47b3f041bf
commit 0cf95e888f

View File

@@ -10,4 +10,7 @@ enum opt {
OPT_INVERT = 8, // 'num' now represents the amount of cores to disable
};
/* acquires the options given by the user through arguments.
* returns the bitmap of these options.
* `ncpus` is set to `-1`, or the amount of CPUs that the user requested to enable.*/
u8 getoptions(int argc, char *const *argv, int *ncpus);