9.7;uuid_gen (UUID generating program), revision 1.0, 87/08/14
UUID_GEN (UUID_GENERATOR) -- UUID generating program
usage: /sys/ncs/uuid_gen [options]
FORMAT
/sys/ncs/uuid_gen [options]
The uuid_gen program generates Universal Unique Identifiers (UUIDs). By
default, it generates a character-string representation of a UUID. The options
for uuid_gen enable you to generate templates for NIDL files or to generate
source- code representations of UUIDs, suitable for initializing variables of
type uuid_$t.
OPTIONS
-c Generates a template, including a UUID attribute, for an
interface definition in the C syntax of NIDL.
-p Generates a template, including a UUID attribute, for an
interface definition in the Pascal syntax of NIDL.
-C Generates a C source-code representation of a UUID.
-P Generates a Pascal source-code representation of a UUID.
EXAMPLES
Generate a character-string representation of a UUID.
$ /sys/ncs/uuid_gen
34dc23469000.0d.00.00.7c.5f.00.00.00
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} };
0