As suggested by o...@eigenstate.org, I have used gettimeofday(2) to achieve what I needed.
But I had to change suseconds_t (in POSIX) to long (in Plan9 ape/include/sys/time.h). But are all the compilers in Plan9 making long an octabytes, whatever the arch and the machine? Because a long, if it is a tetra, will never hold the value... Furthermore, for portability, there should be a typedef associating suseconds_t to long (or vlong, if long is not guaranteed to be an octa). I'm puzzled by this... Meanwhile, with this, kerTeX compiles on Plan9 for the dev version... -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ http://kertex.kergis.com/ http://www.sbfa.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T232b7176352c012b-Mb2d8a8973e450a39ea8bca6a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription