im learning unix, and i have problem with my shell . i want to add hierarchical directories. so theshell have mkdir, rmdir and chdir commands.
the coding in C language.
i looked at the source of mkdir for example, and its very long and complicated. i need simple implementation for these functions to add them to my shell, so i can make directories for example while inside the shell !
If anyone is to help you, you have to start making some sense.
The file you uploaded is 2 bytes in size - about as much use as a trap door in a lifeboat.
If you're trying to do something in C why are you talking about shells? And why are you looking at the source code for mkdir, etc., when all you have to do is call it?
And what does learning UNIX have to do with writing a C program?