Skip to content

joshLongmire3/directory_reading_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

directory_reading_example

CS 361 - C reading contents of Directory

Example of how to use opendir, readdir, and closedir. All code is in example.c. To compile, run make in terminal.

How to use the program:

Terminal Input:

    ./example test_dir

Terminal Output:

    Contents of test_dir are:
    .
    ..
    test1.c
    test2.txt
    sub_dir

About

example of how to use opendir, readdir, and closedir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.2%
  • Makefile 4.8%