Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12
#include <stdlib.h> #include <unistd.h> int main(void) { char dirname[] = "/tmp/temp.XXXXXX"; if (mkdtemp(dirname) != dirname) return 1; return rmdir(dirname) == -1; }