Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > pl.comp.os.linux.programowanie > #2085

Jak pobierać czas modyfikacji pliku?

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.unit0.net!news.nask.pl!news.nask.org.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From Borneq <borneq@antyspam.hidden.pl>
Newsgroups pl.comp.os.linux.programowanie
Subject Jak pobierać czas modyfikacji pliku?
Date Wed, 18 Jan 2017 15:41:04 +0100
Organization ATMAN - ATM S.A.
Lines 23
Message-ID <o5nupk$p7v$1@node2.news.atman.pl> (permalink)
NNTP-Posting-Host 91.239.205.105
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace node2.news.atman.pl 1484750452 25855 91.239.205.105 (18 Jan 2017 14:40:52 GMT)
X-Complaints-To usenet@atman.pl
NNTP-Posting-Date Wed, 18 Jan 2017 14:40:52 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
X-Mozilla-News-Host news://news.atman.pl:119
Xref csiph.com pl.comp.os.linux.programowanie:2085

Show key headers only | View raw


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 | NextNext in thread | Find similar


Thread

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