Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 1 | .\" Copyright 1999 Andreas Dilger (adilger@enel.ucalgary.ca) |
| 2 | .\" |
Theodore Ts'o | 9dd97ae | 2004-04-03 11:24:10 -0500 | [diff] [blame] | 3 | .\" %Begin-Header% |
| 4 | .\" Redistribution and use in source and binary forms, with or without |
| 5 | .\" modification, are permitted provided that the following conditions |
| 6 | .\" are met: |
| 7 | .\" 1. Redistributions of source code must retain the above copyright |
| 8 | .\" notice, and the entire permission notice in its entirety, |
| 9 | .\" including the disclaimer of warranties. |
| 10 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 11 | .\" notice, this list of conditions and the following disclaimer in the |
| 12 | .\" documentation and/or other materials provided with the distribution. |
| 13 | .\" 3. The name of the author may not be used to endorse or promote |
| 14 | .\" products derived from this software without specific prior |
| 15 | .\" written permission. |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 16 | .\" |
Theodore Ts'o | 9dd97ae | 2004-04-03 11:24:10 -0500 | [diff] [blame] | 17 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED |
| 18 | .\" WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 19 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF |
| 20 | .\" WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE |
| 21 | .\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
| 23 | .\" OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 24 | .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 25 | .\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| 27 | .\" USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH |
| 28 | .\" DAMAGE. |
| 29 | .\" %End-Header% |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 30 | .\" |
| 31 | .\" Created Wed Mar 10 17:42:12 1999, Andreas Dilger |
| 32 | .TH UUID_UNPARSE 3 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@" |
| 33 | .SH NAME |
Theodore Ts'o | 3180811 | 2004-04-03 10:48:25 -0500 | [diff] [blame] | 34 | uuid_unparse \- convert an UUID from binary representation to a string |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 35 | .SH SYNOPSIS |
| 36 | .nf |
| 37 | .B #include <uuid/uuid.h> |
| 38 | .sp |
| 39 | .BI "void uuid_unparse(uuid_t " uu ", char *" out ); |
Theodore Ts'o | d3d741f | 2004-03-22 16:22:28 -0500 | [diff] [blame] | 40 | .BI "void uuid_unparse_upper(uuid_t " uu ", char *" out ); |
| 41 | .BI "void uuid_unparse_lower(uuid_t " uu ", char *" out ); |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 42 | .fi |
| 43 | .SH DESCRIPTION |
| 44 | The |
| 45 | .B uuid_unparse |
| 46 | function converts the supplied UUID |
| 47 | .I uu |
Theodore Ts'o | 3180811 | 2004-04-03 10:48:25 -0500 | [diff] [blame] | 48 | from the binary representation into a 36\-byte string (plus tailing '\\0') |
Theodore Ts'o | daecda1 | 2007-12-15 21:13:42 -0500 | [diff] [blame] | 49 | of the form 1b4e28ba\-2fa1\-11d2\-883f\-0016d3cca427 and stores this |
| 50 | value in the character string pointed to by |
Theodore Ts'o | d3d741f | 2004-03-22 16:22:28 -0500 | [diff] [blame] | 51 | .IR out . |
| 52 | The case of the hex digits returned by |
| 53 | .B uuid_unparse |
| 54 | may be upper or lower case, and is |
| 55 | dependent on the system-dependent local default. |
| 56 | .PP |
| 57 | If the case of the |
| 58 | hex digits is important then the functions |
| 59 | .B uuid_unparse_upper |
| 60 | and |
| 61 | .B uuid_unparse_lower |
| 62 | may be used. |
Theodore Ts'o | 6d49349 | 2004-05-04 22:05:05 -0400 | [diff] [blame] | 63 | .SH "CONFORMING TO" |
| 64 | OSF DCE 1.1 |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 65 | .SH AUTHOR |
Theodore Ts'o | 6d49349 | 2004-05-04 22:05:05 -0400 | [diff] [blame] | 66 | Theodore Y. Ts'o |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 67 | .SH AVAILABILITY |
Theodore Ts'o | 6d49349 | 2004-05-04 22:05:05 -0400 | [diff] [blame] | 68 | .UR http://e2fsprogs.sourceforge.net/ |
| 69 | http://e2fsprogs.sourceforge.net/ |
| 70 | .UE |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 71 | .SH "SEE ALSO" |
Theodore Ts'o | 6d49349 | 2004-05-04 22:05:05 -0400 | [diff] [blame] | 72 | .BR uuid (3), |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 73 | .BR uuid_clear (3), |
Theodore Ts'o | 6d49349 | 2004-05-04 22:05:05 -0400 | [diff] [blame] | 74 | .BR uuid_compare (3), |
| 75 | .BR uuid_copy (3), |
Theodore Ts'o | 4eca93b | 1999-03-16 20:31:56 +0000 | [diff] [blame] | 76 | .BR uuid_generate (3), |
Theodore Ts'o | 6d49349 | 2004-05-04 22:05:05 -0400 | [diff] [blame] | 77 | .BR uuid_time (3), |
| 78 | .BR uuid_is_null (3), |
| 79 | .BR uuid_parse (3) |