summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/getpid/getpid.c
blob: d2920ac521b3af67425a27ca87f3da00cc528b6c (plain)
1
2
3
4
5
6
#include <unistd.h>

pid_t getpid(void) {
    // Return an arbitrary value, greater than 1 which is special.
    return 42;
}