tai_pack 3 user commands djbwares
tai_pack convert TAI64 labels to external format

    #include <tai.h>

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

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

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

    struct tai \fIt\fR;

## Description

`tai_pack` converts a TAI64 label from internal format in t to TAI64 format in buf. `tai_unpack` converts a TAI64 label from TAI64 format in buf to internal format in t. `TAI_PACK` is 8. See `http://pobox.com/~djb/proto/tai64.txt` for more information about TAI64 format.

## See also

tai 3

## Author

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