函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\params.c Create Date:2022-07-27 10:30:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:param_set_copystring

函数原型:int param_set_copystring(const char *val, const struct kernel_param *kp)

返回类型:int

参数:

类型参数名称
const char *val
const struct kernel_param *kp
493  kps等于str
495  如果strlen - Find the length of a string*@s: The string to be sized加1大于maxlen
496  打印错误信息("%s: string doesn't fit in %u chars.\n", name, maxlen - 1)
498  返回:负ENOSPC
500  strcpy(string, val)
501  返回:0