函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-27 07:09:19
Last Modify:2022-05-21 09:47:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pointer_string

函数原型:static char *pointer_string(char *buf, char *end, const void *ptr, struct printf_spec spec)

返回类型:char

参数:

类型参数名称
char *buf
char *end
const void *ptr
struct printf_specspec
696  number base, 8, 10 or 16 only 等于16
697  flags to number() 或等于use lowercase in hex (must be 32 == 0x20)
698  如果 width of output field 恒等于负1则
699  width of output field 等于2乘ptr的长度
700  flags to number() 或等于pad with zero, must be 16 == '0' - ' '
703  返回:number(buf, end, (unsignedlongint)ptr, spec)
调用者
名称描述
ptr_to_id
restricted_pointer
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