Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_field_width

Proto:static void set_field_width(struct printf_spec *spec, int width)

Type:void

Parameter:

TypeParameterName
struct printf_spec *spec
intwidth
2461  width of output field = width
2462  If WARN_ONCE( width of output field != width, "field width %d too large", width) Then
2463  width of output field = clamp - return a value clamped to a given range with strict typechecking*@val: current value*@lo: lowest allowable value*@hi: highest allowable value* This macro does strict typechecking of @lo/@hi to make sure they are of the* same type as @val(width, - FIELD_WIDTH_MAX, FIELD_WIDTH_MAX)
Caller
NameDescribe
vsnprintfvsnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* This function generally