Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > pl.comp.os.linux.programowanie > #2085
| From | Borneq <borneq@antyspam.hidden.pl> |
|---|---|
| Newsgroups | pl.comp.os.linux.programowanie |
| Subject | Jak pobierać czas modyfikacji pliku? |
| Date | 2017-01-18 15:41 +0100 |
| Organization | ATMAN - ATM S.A. |
| Message-ID | <o5nupk$p7v$1@node2.news.atman.pl> (permalink) |
czytam
DIR *dir;
struct dirent *ent;
if ((dir = opendir(folder)) != NULL)
{
while ((ent = readdir(dir)) != NULL)
{
if (strncmp(ent->d_name, beginName, strlen(beginName)) == 0)
{
printf("%s\n",ent->d_name);
names.push_back(ent->d_name);
}
}
closedir(dir);
}
else
{
perror("");
exit(1);
}
ale mam same nazwy, bez wielkości i bez czasu modyfikacji
Back to pl.comp.os.linux.programowanie | Previous | Next — Next in thread | Find similar
Jak pobierać czas modyfikacji pliku? Borneq <borneq@antyspam.hidden.pl> - 2017-01-18 15:41 +0100 Re: Jak pobierać czas modyfikacji pliku? Borneq <borneq@antyspam.hidden.pl> - 2017-01-18 16:12 +0100
csiph-web