Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\uuid.c Create Date:2022-07-28 06:20:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_is_valid - checks if a UUID string is valid*@uuid: UUID string to check* Description:* It checks if the UUID string is following the format:* xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx* where x is a hex digit.* Return: true if input is valid UUID string.

Proto:bool uuid_is_valid(const char *uuid)

Type:bool

Parameter:

TypeParameterName
const char *uuid
82  When i < The length of a UUID string ("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")* not including trailing NUL. cycle
83  If i == 8 || i == 13 || i == 18 || i == 23 Then
84  If uuid[i] != '-' Then Return false
86  Else if Not isxdigit(uuid[i]) Then
87  Return false
91  Return true
Caller
NameDescribe
__uuid_parse