Function report |
Source Code:security\apparmor\lib.c |
Create Date:2022-07-28 19:50:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_split_fqname - split a fqname into a profile and namespace name*@fqname: a full qualified name in namespace profile format (NOT NULL)*@ns_name: pointer to portion of the string containing the ns name (NOT NULL)* Returns: profile name or NULL if one is
Proto:char *aa_split_fqname(char *fqname, char **ns_name)
Type:char
Parameter:
Type | Parameter | Name |
---|---|---|
char * | fqname | |
char ** | ns_name |
46 | * ns_name = NULL |
47 | If name[0] == ':' Then |
48 | split = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
49 | ns_name = skip_spaces - Removes leading whitespace from @str.*@str: The string to be stripped.* Returns a pointer to the first non-whitespace character in @str. |
50 | If split Then |
52 | split++ = 0 |
56 | Else name = NULL |
63 | Return name |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |