UUID_PARSE

Section: C Library Functions (3)
Updated: December 2010
Index JM Home Page
 

名前

uuid_parse - 入力された UUID 文字列をバイナリ表現に変換する  

書式

#include <uuid/uuid.h>

int uuid_parse(char *in, uuid_t uu);
 

説明

uuid_parse 関数は in に与えられた UUID 文字列を変換し、バイナリ表現にする。 入力する UUID のフォーマットは 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb のようなものである (printf(3) フォーマットで "%08x-%04x-%04x-%04x-%012x"、 36 バイトに末尾の '\0' を加えたもの)。  

返り値

文字列を正しく解釈 (parse) できたら、 0 が返され、その UUID は uu が指すメモリ位置に保存される。解釈できなかったら -1 が返される。  

準拠

OSF DCE 1.1  

著者

Theodore Y. Ts'o  

入手方法

http://e2fsprogs.sourceforge.net/  

関連項目

uuid(3), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_time(3), uuid_unparse(3)

関連キーワード

uuid, UUID, PARSE, フォーマット, 準拠, 入手, 方法, Index, 名前, 入力

Linux マニュアル 一覧

[man1] [man2] [man3] [man4] [man5] [man6] [man7] [man8]
[a] [b] [c] [d] [e] [f] [g] [h] [i] [j] [k] [l] [m] [n] [o] [p] [q] [r] [s] [t] [u] [v] [w] [x] [y] [z]

 

Index

名前
書式
説明
返り値
準拠
著者
入手方法
関連項目

This document was created by man2html, using the manual pages.
Time: 12:08:55 GMT, June 11, 2022