Skip to content

Commit

Permalink
dirent: added directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 25, 2024
1 parent 9966c3c commit b7dfc7f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/include/kernel/dirent.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* lux - a lightweight unix-like operating system
* Omar Elghoul, 2024
*
* Core Microkernel
*/

#pragma once

#include <sys/types.h>

typedef struct {
ino_t d_ino;
char d_name[];
} dirent;

0 comments on commit b7dfc7f

Please sign in to comment.