try to finish find

This commit is contained in:
2025-02-27 12:34:34 +08:00
parent 220553c3b8
commit 930df1c35b
4 changed files with 58 additions and 52 deletions

12
user/find.c Normal file
View File

@@ -0,0 +1,12 @@
#include "kernel/fcntl.h"
#include "kernel/fs.h"
#include "kernel/stat.h"
#include "kernel/types.h"
#include "user/user.h"
int main(int argc, char *argv[]) {
if (argc < 3) {
printf("Usage: find path pattern\n");
}
exit(0);
}