Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-28 06:12:01
Last Modify:2022-05-21 09:47:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:err_ptr

Proto:static char *err_ptr(char *buf, char *end, void *ptr, struct printf_spec spec)

Type:char

Parameter:

TypeParameterName
char *buf
char *end
void *ptr
struct printf_specspec
621  err = PTR_ERR(ptr)
622  sym = errname(err)
624  If sym Then Return Handle string from a well known address.
632  flags to number() |= unsigned/signed, must be 1
633  number base, 8, 10 or 16 only = 10
634  Return number(buf, end, err, spec)
Caller
NameDescribe
pointerShow a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters