tahamajs's picture
download
raw
322 Bytes
#include "types.h"
#include "stat.h"
#include "user.h"
int main(void) {
// Make a few system calls before checking count
getpid();
sleep(1);
uptime();
// Call nsyscalls() to get and print count
int count = nsyscalls();
printf(1, "Number of system calls: %d\n", count);
exit();
}

Xet Storage Details

Size:
322 Bytes
·
Xet hash:
d1bbdc16e43dfecc6115dad3d5178800abde9a7438844f5dfddeedf430a4f5c6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.