Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib. h>
- #include <string.h>
- #include <locale.h>
- #include <time.h>
- #include <dirent.h>
- busca_pdfs([15]*char pdfs) {
- DIR *d;
- int i;
- struct dirent *dir;
- d = opendir(".");
- if (d) {
- while ((dir = readdir(d)) != NULL) {
- strcpy( dir->d_name);
- }
- closedir(d);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement