devel/libtai 0.60nb8 NetBSD
Library for storing and manipulating dates and times
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- public-domain
- Categories
- devel
- Package size
- 19.3 KiB, 104.8 KiB installed
Description
libtai supports two time scales: (1) TAI64, covering a few hundred billion years with 1-second precision; (2) TAI64NA, covering the same period with 1-attosecond precision. Both scales are defined in terms of TAI, the current international real time standard.
libtai provides an internal format for TAI64, struct tai, designed for fast time manipulations. The tai_pack() and tai_unpack() routines convert between struct tai and a portable 8-byte TAI64 storage format. libtai provides similar internal and external formats for TAI64NA.
This version of libtai requires a UNIX system with gettimeofday(). It will be easy to port to other operating systems with compilers supporting 64-bit arithmetic.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/libtai | 0.60nb8 |
| FreeBSD | devel/libtai | 0.60_7 |
| DragonFly | devel/libtai | 0.60_7 |
| HardenedBSD | devel/libtai | 0.60_7 |
| GhostBSD | devel/libtai | 0.60_7 |
Install
Binary package:
pkgin install libtai
From pkgsrc:
cd /usr/pkgsrc/devel/libtai && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.60nb8 |
| NetBSD 10.1 aarch64 | 0.60nb8 |
| SmartOS / illumos x86_64 | 0.60nb8 |
| macOS 15 arm64 | 0.60nb8 |