taia_pack

## Name

taia_pack — convert TAI64NA labels to external format

## Synopsis

    #include <taia.h>

    void \fBtaia_pack\fP(\fIbuf\fR,&\fIt\fR);

    void \fBtaia_unpack\fP(\fIbuf\fR,&\fIt\fR);

    char \fIbuf\fR[\fBTAIA_PACK\fP];

    struct taia \fIt\fR;

## Description

taia_pack converts a TAI64NA label from internal format in `t` to TAI64NA format in `buf`. taia_unpack converts a TAI64NA label from TAI64NA format in `buf` to internal format in `t`. TAIA_PACK is 16. See http://pobox.com/~djb/proto/tai64.txt for more information about TAI64NA format.

## See also

taia(3)

## Author

Original code and documentation by Daniel J. Bernstein. Converted to DocBook XML by Jonathan de Boyne Pollard.