函数逻辑报告 |
Source Code:lib\kstrtox.c |
Create Date:2022-07-27 07:23:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kstrtobool - convert common user inputs into boolean values*@s: input string*@res: result* This routine returns 0 iff the first character is one of 'Yy1Nn0', or* [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL. Value
函数原型:int kstrtobool(const char *s, bool *res)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | s | |
| bool * | res |
| 341 | * res = true |
| 342 | 返回:0 |
| 346 | * res = false |
| 347 | 返回:0 |
| 362 | 默认 |
| 363 | 退出 |
| 366 | 返回:负EINVAL |
| 名称 | 描述 |
|---|---|
| kstrtobool_from_user | Since "base" would be a nonsense argument, this open-codes the* _from_user helper instead of using the helper macro below. |
| parse_gart_mem | |
| enabled_store | |
| force_store | |
| early_init_on_free | |
| enable_c02_store | |
| setup_psi | |
| early_init_on_alloc |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |