Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\binfmt_misc.c Create Date:2022-07-28 20:27:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static char *scanarg(char *s, char del)

Type:char

Parameter:

TypeParameterName
char *s
chardel
264  When (c = s++) != del cycle
265  If c == '\\' && s == 'x' Then
266  s++
267  If Not isxdigit( * s++) Then Return NULL
269  If Not isxdigit( * s++) Then Return NULL
273  s[ - 1] = '\0'
274  Return s
Caller
NameDescribe
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