1 .\" Copyright 1999 Andreas Dilger (adilger@enel.ucalgary.ca)
3 .\" This man page was created for libuuid.so.1.1 from e2fsprogs-1.14.
5 .\" This file may be copied under the terms of the GNU Public License.
7 .\" Created Wed Mar 10 17:42:12 1999, Andreas Dilger
8 .TH UUID_PARSE 3 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
10 uuid_parse \- convert an input UUID string into the libuuid internal format
13 .B #include <uuid/uuid.h>
15 .BI "int uuid_parse( char *" in ", uuid_t " uu );
20 function converts the UUID string given by
24 format. The input UUID is a string of the form
25 1b4e28ba\-2fa1\-11d2\-883f\-b9a761bde3fb (in
27 format "%08x\-%04x\-%04x\-%04x\-%012x", 36 bytes plus the trailing '\\0').
29 Upon successfully parsing the input string, 0 is returned, and the UUID is
30 stored in the location pointed to by
32 otherwise \-1 is returned.
37 was written by Theodore Y. Ts'o for the ext2 filesystem utilties.
40 is part of libuuid from the e2fsprogs package and is available for anonymous
41 ftp from tsx\-11.mit.edu (and its mirrors) in /pub/linux/packages/ext2fs.
47 .BR uuid_generate (3),