-
-
Save PotatoPope/76840cb6e5b2c1c38607b159dc2ad201 to your computer and use it in GitHub Desktop.
I_like_tUrtles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create directory | |
directory_entry = (struct dirent*) block; | |
directory_entry->inode = inode; | |
strcpy(directory_entry->name, "."); | |
directory_entry++; | |
directory_entry->inode = parent_inode; | |
strcpy(directory_entry->name, ".."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment