|
Experimentally, no. The example program calls localtime(3) 10 times but only accesses the file once, per truss: write(1,"Greetings!n",11) = 11 (0xb)
access("/etc/localtime",R_OK) = 0 (0x0)
open("/etc/localtime",O_RDONLY,037777777600) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11316113,size=2819,blksize=32768 }) = 0 (0x0)
read(3,"TZif20000000000000"...,41448) = 2819 (0xb03)
close(3) = 0 (0x0)
issetugid() = 0 (0x0)
open("/usr/share/zoneinfo/posixrules",O_RDONLY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=327579,size=3519,blksize=32768 }) = 0 (0x0)
read(3,"TZif20000000000000"...,41448) = 3519 (0xdbf)
close(3) = 0 (0x0)
write(1,"Godspeed, dear friend!n",23) = 23 (0x17)
(FreeBSD caches the database on the first call: https://svnweb.freebsd.org/base/head/contrib/tzcode/stdtime/... ) |