summaryrefslogtreecommitdiff
path: root/usr/src/man/man3uuid
diff options
context:
space:
mode:
authorAndy Stormont <andyjstormont@gmail.com>2014-04-08 23:14:41 +0100
committerDan McDonald <danmcd@omniti.com>2014-04-10 19:23:08 -0400
commit0b5ce10aee80822ecc7df77df92a5e24078ba196 (patch)
tree26fa8e1c8fd609fb224befbd91efefed61f92e93 /usr/src/man/man3uuid
parent29ddbbefe0da081f1b541515eaa79fba9b663896 (diff)
downloadillumos-gate-0b5ce10aee80822ecc7df77df92a5e24078ba196.tar.gz
4118 libuuid should provide uuid_unparse_{upper,lower} functions
Reviewed by: Serghei Samsi <sscdvp@gmail.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/man/man3uuid')
-rw-r--r--usr/src/man/man3uuid/Makefile7
-rw-r--r--usr/src/man/man3uuid/uuid_clear.3uuid35
2 files changed, 33 insertions, 9 deletions
diff --git a/usr/src/man/man3uuid/Makefile b/usr/src/man/man3uuid/Makefile
index 52ee447875..bcdd8c3b12 100644
--- a/usr/src/man/man3uuid/Makefile
+++ b/usr/src/man/man3uuid/Makefile
@@ -12,6 +12,7 @@
#
# Copyright 2011, Richard Lowe
# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2014 Andrew Stormont.
#
include $(SRC)/Makefile.master
@@ -28,7 +29,9 @@ MANLINKS= uuid_compare.3uuid \
uuid_is_null.3uuid \
uuid_parse.3uuid \
uuid_time.3uuid \
- uuid_unparse.3uuid
+ uuid_unparse.3uuid \
+ uuid_unparse_lower.3uuid \
+ uuid_unparse_upper.3uuid
uuid_compare.3uuid := LINKSRC = uuid_clear.3uuid
uuid_copy.3uuid := LINKSRC = uuid_clear.3uuid
@@ -39,6 +42,8 @@ uuid_is_null.3uuid := LINKSRC = uuid_clear.3uuid
uuid_parse.3uuid := LINKSRC = uuid_clear.3uuid
uuid_time.3uuid := LINKSRC = uuid_clear.3uuid
uuid_unparse.3uuid := LINKSRC = uuid_clear.3uuid
+uuid_unparse_lower.3uuid := LINKSRC = uuid_clear.3uuid
+uuid_unparse_upper.3uuid := LINKSRC = uuid_clear.3uuid
.KEEP_STATE:
diff --git a/usr/src/man/man3uuid/uuid_clear.3uuid b/usr/src/man/man3uuid/uuid_clear.3uuid
index bcea26d14c..fc2cc86bf0 100644
--- a/usr/src/man/man3uuid/uuid_clear.3uuid
+++ b/usr/src/man/man3uuid/uuid_clear.3uuid
@@ -1,13 +1,15 @@
'\" te
.\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
+.\" Copyright 2014 Andrew Stormont.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH UUID_CLEAR 3UUID "Jan 16, 2006"
+.TH UUID_CLEAR 3UUID "Apr 9, 2014"
.SH NAME
uuid_clear, uuid_compare, uuid_copy, uuid_generate, uuid_generate_random,
-uuid_generate_time, uuid_is_null, uuid_parse, uuid_time, uuid_unparse \-
-universally unique identifier (UUID) operations
+uuid_generate_time, uuid_is_null, uuid_parse, uuid_time, uuid_unparse,
+uuid_unparse_lower, uuid_unparse_upper \- universally unique identifier (UUID)
+operations
.SH SYNOPSIS
.LP
.nf
@@ -62,6 +64,16 @@ cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-luuid\fR [ \fIlibrary \&.\|.
\fBvoid\fR \fBuuid_unparse\fR(\fBuuid_t\fR \fIuu\fR, \fBchar *\fR\fIout\fR);
.fi
+.LP
+.nf
+\fBvoid\fR \fBuuid_unparse_lower\fR(\fBuuid_t\fR \fIuu\fR, \fBchar *\fR\fIout\fR);
+.fi
+
+.LP
+.nf
+\fBvoid\fR \fBuuid_unparse_upper\fR(\fBuuid_t\fR \fIuu\fR, \fBchar *\fR\fIout\fR);
+.fi
+
.SH DESCRIPTION
.sp
.LP
@@ -121,11 +133,18 @@ seconds and microseconds since the epoch is also stored in the location pointed
to by \fBret_tv\fR (see \fBgettimeofday\fR(3C)).
.sp
.LP
-The \fBuuid_unparse()\fR function converts the specified UUID \fIuu\fR from the
-internal binary format to a string of the length defined in the \fBuuid.h\fR
-macro, \fBUUID_PRINTABLE_STRING_LENGTH\fR, which includes the trailing null
-character. The resulting value is stored in the character string pointed to by
-\fIout\fR.
+The \fBuuid_unparse()\fR and \fBuuid_unparse_lower()\fR functions convert the
+specified UUID \fIuu\fR from the internal binary format to a lower case string
+of the length defined in the \fBuuid.h\fR macro,
+\fBUUID_PRINTABLE_STRING_LENGTH\fR, which includes the trailing null character.
+The resulting value is stored in the character string pointed to by \fIout\fR.
+.sp
+.LP
+The \fBuuid_unparse_upper()\fR function converts the specified UUID \fIuu\fR
+from the internal binary format to a upper case string of the length defined in
+the \fBuuid.h\fR macro, \fBUUID_PRINTABLE_STRING_LENGTH\fR, which includes the
+trailing null character. The resulting value is stored in the character string
+pointed to by \fIout\fR.
.SH ATTRIBUTES
.sp
.LP