", ctime(&(buf.st_atime)) , ctime(&(buf.st_mtime)) , ctime(&(buf.st_ctime))"
eu cam asa am trimis postul asa ca nu tre sa modific nimic. On Thu, 16 Sep 2004 10:15:07 +0300, Mihai Maties <[EMAIL PROTECTED]> wrote: > On Thursday 16 September 2004 09:53, Bogdan Enescu wrote: > > Codul cu pricina > > Cand modific timpul de acces cu cat ( timpul de acces) nimic nu se > > modifica . Cand folosesc touch -a toate campurile se modifica. Vreo > > idee unde e problema in cod ? > > In primul rand rezolva-ti problema in cod pentru ca afisezi de fapt de 3 ori > atime-ul in loc de atime, mtime si ctime: > > [EMAIL PROTECTED] dev]$ ./stat stat.c > access time is Thu Sep 16 10:09:35 2004 > modify time is Thu Sep 16 10:09:35 2004 > change time is Thu Sep 16 10:09:35 2004 > file size is 396 > [EMAIL PROTECTED] dev]$ stat stat.c > File: `stat.c' > Size: 396 Blocks: 8 IO Block: 4096 regular file > Device: 303h/771d Inode: 3581090 Links: 1 > Access: (0644/-rw-r--r--) Uid: ( 1000/ xcyborg) Gid: ( 1000/ xcyborg) > Access: 2004-09-16 10:09:35.875007512 +0300 > Modify: 2004-09-16 10:09:26.742395880 +0300 > Change: 2004-09-16 10:09:26.742395880 +0300 > > Mihai > > -- > This message was scanned for spam and viruses by BitDefender > For more information please visit http://www.bitdefender.com/ > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > > --- Detalii despre listele noastre de mail: http://www.lug.ro/
