Please tell us what you do, and what your program outputs and how that differs from what you expect. Also try reducing the program to the bare minimum that still shows the error.
As a hint, consider where bsd_glob stores its results. This is not a code writing service.
in reply to Re^2: Read() -Multiple Files-
in thread Read() -Multiple Files-