DEV Community

Discussion on: Shell Programming Using C Programming Language

Collapse
 
tonnerkiller profile image
tonnerkiller

I don‘t really understand the question, but you can use stuff from the command line through the argc and argv variables of the main function.
You might wanna research that.

Collapse
 
mikeyolang profile image
Michael Otieno Olang

Now thats exactly what I need to know , how to implement the argc and the argv and also the various flags such as O_RDONLY E.t.c