函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\binfmt_misc.c Create Date:2022-07-29 11:02:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:parses and copies one argument enclosed in del from *sp to *dp,* recognising the \x special.* returns pointer to the copied argument or NULL in case of an* error (and sets err) or null argument length.

函数原型:static char *scanarg(char *s, char del)

返回类型:char

参数:

类型参数名称
char *s
chardel
264 c等于s自加不等于del循环
265  如果c恒等于'\\'且s恒等于'x'则
266  s自加
267  如果非是十六进制数字则返回:NULL
269  如果非是十六进制数字则返回:NULL
273  s[ - 1]等于'\0'
274  返回:s
调用者
名称描述
create_entryThis registers a new binary format, it recognises the syntax* ':name:type:offset:magic:mask:interpreter:flags'* where the ':' is the IFS, that can be chosen with the first char