c88d6dcb4f
Adds useful descriptions to ones that were lacking them, updates ones that were innacurate, etc.
19 lines
362 B
C
19 lines
362 B
C
/* vim:tabstop=4 shiftwidth=4 noexpandtab
|
|
*
|
|
* File System Test Suite
|
|
* (incomplete)
|
|
*/
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <fcntl.h>
|
|
|
|
int main(int argc, char ** argv) {
|
|
printf("= Begin File System Testing =\n");
|
|
|
|
int fd = creat("/test.log", S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
|
|
|
printf("File descriptor generator: %d\n", fd);
|
|
|
|
return 0;
|
|
}
|