Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

UUID_GEN(8)                     Domain/OS BSD                      UUID_GEN(8)




NAME
     uuid_gen - UUID generating program

SYNOPSIS
     /etc/ncs/uuid_gen [ -c ] [ -p ] [ -C ] [ -P ]

DESCRIPTION
     The uuid_gen program generates Universal Unique Identifiers (UUIDs).
     Without options, it generates a character-string representation of a
     UUID.  The options enable you to generate templates for Network Interface
     Definition Language (NIDL) files or to generate source-code
     representations of UUIDs, suitable for initializing variables of type
     uuid_$t.

OPTIONS
     -c        Generate a template, including a UUID attribute, for an
               interface definition in the C syntax of NIDL.

     -p        Generate a template, including a UUID attribute, for an
               interface definition in the Pascal syntax of NIDL.

     -C        Generate a C source-code representation of a UUID.

     -P        Generate a Pascal source-code representation of a UUID.

EXAMPLES
     Generate a template for an interface definition in the C syntax of NIDL:

     $ /sys/ncs/uuid_gen -c
     %c
     [
     uuid(34dc239ec000.0d.00.00.7c.5f.00.00.00),
     version(1)
     ]
     interface INTERFACENAME {

     Generate a C source-code representation of a UUID:

     $ /sys/ncs/uuid_gen -C
     = { 0x34dc23af,
     0xf000,
     0x0000,
     0x0d,
     {0x00, 0x00, 0x7c, 0x5f, 0x00, 0x00, 0x00} };


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026