BSD Ports

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

SystemPortVersion
NetBSDdevel/libtai0.60nb8
FreeBSDdevel/libtai0.60_7
DragonFlydevel/libtai0.60_7
HardenedBSDdevel/libtai0.60_7
GhostBSDdevel/libtai0.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.

RepositoryVersion
NetBSD 10.1 x86_640.60nb8
NetBSD 10.1 aarch640.60nb8
SmartOS / illumos x86_640.60nb8
macOS 15 arm640.60nb8

Dependencies