Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uuid_parse(3) [suse man page]

UUID_PARSE(3)							    Libuuid API 						     UUID_PARSE(3)

NAME
uuid_parse - convert an input UUID string into binary representation SYNOPSIS
#include <uuid/uuid.h> int uuid_parse( char *in, uuid_t uu); DESCRIPTION
The uuid_parse function converts the UUID string given by in into the binary representation. The input UUID is a string of the form 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb (in printf(3) format "%08x-%04x-%04x-%04x-%012x", 36 bytes plus the trailing ''). RETURN VALUE
Upon successfully parsing the input string, 0 is returned, and the UUID is stored in the location pointed to by uu, otherwise -1 is returned. CONFORMING TO
OSF DCE 1.1 AUTHOR
Theodore Y. Ts'o AVAILABILITY
libuuid is part of the util-linux-ng package since version 2.15.1 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux- ng/. SEE ALSO
uuid(3), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_time(3), uuid_unparse(3) util-linux-ng May 2009 UUID_PARSE(3)

Check Out this Related Man Page

UUID_PARSE(3)						     Library Functions Manual						     UUID_PARSE(3)

NAME
uuid_parse - convert an input UUID string into binary representation SYNOPSIS
#include <uuid/uuid.h> int uuid_parse( char *in, uuid_t uu); DESCRIPTION
The uuid_parse function converts the UUID string given by in into the binary representation. The input UUID is a string of the form 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb (in printf(3) format "%08x-%04x-%04x-%04x-%012x", 36 bytes plus the trailing ''). RETURN VALUE
Upon successfully parsing the input string, 0 is returned, and the UUID is stored in the location pointed to by uu, otherwise -1 is returned. CONFORMING TO
OSF DCE 1.1 AUTHOR
Theodore Y. Ts'o AVAILABILITY
http://e2fsprogs.sourceforge.net/ <http://e2fsprogs.sourceforge.net/> SEE ALSO
uuid(3), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_unparse(3) 1.36 April 2004 UUID_PARSE(3)
Man Page

10 More Discussions You Might Find Interesting

1. Programming

Why can't I use string.h?

Hi, I'm not sure if this something that is completely over my head... but i'm trying to use #include string.h in my program to declare a variable "string cmdline;" but i keep on getting the message of cmndline not declared when i have declared it already. I know that there are differences in... (6 Replies)
Discussion started by: laila63
6 Replies

2. UNIX for Dummies Questions & Answers

confused

A red hat linux ftp server exists in which a file exists. My problem is I need to connect to this server from my windows xp terminal which is in the same network & retrieve the file then convert it to xcel for some data Pls advs commands and procedure to connect to the machine...oh my god... (1 Reply)
Discussion started by: sauravjung
1 Replies

3. Linux

FTP push

Hi I am trying to send a file form one linux server into an another linux server. I cannot do ftp get. Can anyone please assist me how can I push the file to the other server ? Thanks. (2 Replies)
Discussion started by: sureshcisco
2 Replies

4. Linux

cannot execute binary file

We are getting one error when we execute the binary file below mentioned, and ownership goes to root:nobody, how to resolve this problem. sh /home/pub/bin/awk: cannot execute binary file :confused: Pls help me out . (2 Replies)
Discussion started by: durgaprasadr13
2 Replies

5. UNIX for Dummies Questions & Answers

Tru64 - how can you determine the package where a file or binary belongs to?

Dear linux-unix users, I hope that one of you will be able to help me. How can I determine to which package a file or binary belongs to. With solaris/linux package managers you can easely determine this but i cant find the way how to do this on tru64. Any help would greatly be appreciated.... (0 Replies)
Discussion started by: Crazy_lenny
0 Replies

6. Linux

How to replace the 2nd character in a string using sed?

Hi, i have string var1=NN. Based on conditions, i have to change this first N to Y or second N to Y and send the details to other process. How to do that? This is a linux machine. Thanks, Selva (1 Reply)
Discussion started by: bharathappriyan
1 Replies

7. Linux

Cannot execute binary file

I'm trying to install JasperReports Server 4.1 on Linux Ubuntu (release 11.04) as root and have following message: -bash: ./jasperreports-server-cp-4.1.0-linux-x64-installer.run: cannot execute binary file Is any idea what should I do in order to install Jasper? Previously, I installed... (6 Replies)
Discussion started by: pots06
6 Replies

8. UNIX for Dummies Questions & Answers

Xcrysden:Cannot execute binary file

Grettings, Hi and thanks for taking a look at this. I'm going to attempt to explain this the best I possible can but due to my limited knowledge of linux this may prove difficult. I have attempted to install xcrysden on cygwin following the instruction on xcrysden webpage (I attempted to link the... (2 Replies)
Discussion started by: Zbay
2 Replies

9. Linux

Teledisk: no way?

I try to convert old teledisk format(i have both compressed and uncompressed) to floppy 3 1/2 readable by linux I try a)Dosbox+teledisk=fail! b)Cmputils,nothing work,cmpls produce garbage c)Uscd fs on fuse claim support for teledisk,but if i try to mount i obtain " floppy.FD0 not appear... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

10. Shell Programming and Scripting

Linux convert Comma delimited file to pipe

I have file in linux with comma delimited and string fields in double quotations ", I need to convert them to pipe delimiter please share your inputs. Example: Input: "2017-09-30","ACBD,TVF","01234",NULL,18,NULL,"686091802","BANK OF ABCD, LIMITED, THE",790456 Output: ... (4 Replies)
Discussion started by: shieksir
4 Replies