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


Groups > comp.lang.c++ > #91247

Re: Unbelievable

From Paavo Helde <eesnimi@osa.pri.ee>
Newsgroups comp.lang.c++
Subject Re: Unbelievable
Date 2023-08-11 15:31 +0300
Organization A noiseless patient Spider
Message-ID <ub59nd$relg$1@dont-email.me> (permalink)
References (7 earlier) <TI6BM.359408$xMqa.168796@fx12.iad> <ub30ds$dqdu$1@dont-email.me> <gG7BM.25893$Wk53.3856@fx01.iad> <ub4kek$ohrj$1@dont-email.me> <ub4nah$otrs$1@dont-email.me>

Show all headers | View raw


11.08.2023 10:17 Bonita Montero kirjutas:
> Am 11.08.2023 um 08:28 schrieb David Brown:
> 
>> ext4 has nanosecond resolution for its timestamps - and
>> that is, I would  argue, quite a widely used filesystem.
> 
> And what's the API to use that ?
> For sure not stat(), because that uses time_t timestamps.

Some quick googling says:

"Since kernel 2.5.48, the stat structure supports nanosecond resolution 
for the three file timestamp fields."

Glibc is exposing these fields in form stat.st_mtim.tv_nsec et al.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Cool ! Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-08 19:25 +0200
  Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-09 08:01 +0200
    Re: Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-09 08:17 +0200
      Re: Unbelievable scott@slp53.sl.home (Scott Lurndal) - 2023-08-09 13:57 +0000
        Re: Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-09 16:18 +0200
          Re: Unbelievable scott@slp53.sl.home (Scott Lurndal) - 2023-08-09 16:01 +0000
            Re: Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-10 12:11 +0200
              Re: Unbelievable scott@slp53.sl.home (Scott Lurndal) - 2023-08-10 14:44 +0000
                Re: Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-10 17:40 +0200
                Re: Unbelievable scott@slp53.sl.home (Scott Lurndal) - 2023-08-10 15:49 +0000
                Re: Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-10 19:03 +0200
                Re: Unbelievable David Brown <david.brown@hesbynett.no> - 2023-08-11 08:28 +0200
                Re: Unbelievable Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-11 09:17 +0200
                Re: Unbelievable Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-08-11 12:02 +0100
                Re: Unbelievable Paavo Helde <eesnimi@osa.pri.ee> - 2023-08-11 15:31 +0300

csiph-web