Forked from
redox-os / relibc
1677 commits behind the upstream repository.
-
Nagy Tibor authoredNagy Tibor authored
error.c 216 B
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
int main(void) {
chdir("nonexistent");
printf("errno: %d = %s\n", errno, strerror(errno));
perror("perror");
return 0;
}