函数逻辑报告 |
Source Code:include\linux\string.h |
Create Date:2022-07-27 06:38:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static __always_inline size_t str_has_prefix(const char *str, const char *prefix)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | str | |
const char * | prefix |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |