How a System Call Actually Works in Linux
Here's a small C program. It calls clock_gettime() three times, then writes five bytes to standard output.
#include <stdio.h>
#include <time.h>
#include <unistd.h>
int main(void)
{
struct timespe
freecodecamp.org21 min read