Function report |
Source Code:include\linux\string.h |
Create Date:2022-07-28 05:34:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:str_has_prefix - Test if a string has a given prefix*@str: The string to test*@prefix: The string to see if @str starts with* A common way to test a prefix of a string is to do:* strncmp(str, prefix, sizeof(prefix) - 1)* But this can lead to bugs due to
Proto:static __always_inline size_t str_has_prefix(const char *str, const char *prefix)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | str | |
const char * | prefix |
Name | Describe |
---|---|
decode_state | |
__control_devkmsg | |
_braille_console_setup | |
parse_grep | The "str" argument may point to something like | grep xyz |
trace_set_options | |
enable_stacktrace | |
f_show | |
synth_field_signed | |
synth_event_create | |
parse_action | |
parse_assignment | |
action_parse | |
parse_actions | |
parse_probe_vars |
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 |