Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uuid_gen(8) — bsd — Apollo Domain/OS SR10.3.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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





NAME
     uuidgen - UUID generating program

SYNOPSIS
     /etc/ncs/uuidgen [ -c ] [ -p ] [ -C ] [ -P ] [ -t ] [ -version ]

DESCRIPTION
     The uuidgen program generates Universal Unique Identifiers (UUIDs).

     Without options, uuidgen generates the character-string representation
     of a UUID.  The -c and -p options enable you to generate templates for
     Network Interface Definition Language (NIDL) files.  The -C and -P
     options enable you to generate source-code representations of UUIDs,
     suitable for initializing variables of type uuid$t.

     You can specify several options at once to generate several
     representations for the same UUID.  To generate the default character-
     string representation as well as one of the optional representations, use
     the -t option.

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

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

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

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

     -t        Generate the character-string representation of a UUID.  This
               option allows you to request the default output of uuidgen
               while also requesting optional output forms.

     -version  Display the version of NCK that this uuidgen belongs to, but
               do not generate a UUID.

EXAMPLES
     1.  Generate the character-string representation of a UUID:

     $ /etc/ncs/uuidgen
     34dc23469000.0d.00.00.7c.5f.00.00.00


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

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

     }


     3.  Generate the C source-code representation of a UUID:

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


     4.  Generate both the character-string representation and the C source-
     code representation of a UUID:

     $ /etc/ncs/uuidgen -t -C
     450ccaed6000.0d.00.02.18.cb.00.00.00
     = { 0x450ccaed,
         0x6000,
         0x0000,
         0x0d,
         {0x00, 0x02, 0x18, 0xcb, 0x00, 0x00, 0x00} };


SEE ALSO
     Managing NCS Software

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