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:Handle string from a well known address.

Proto:static char *string_nocheck(char *buf, char *end, const char *s, struct printf_spec spec)

Type:char

Parameter:

TypeParameterName
char *buf
char *end
const char *s
struct printf_specspec
603  len = 0
604  lim = # of digits/chars
606  When lim-- cycle
607  c = s++
608  If Not c Then Break
610  If buf < end Then buf = c
612  ++buf
613  ++len
615  Return Handle field width padding for a string.*@buf: current buffer position*@n: length of string*@end: end of output buffer*@spec: for field width and flags* Returns: new buffer position after padding.
Caller
NameDescribe
err_ptr
error_stringBe careful: error messages must fit into the given buffer.
string
resource_string
mac_address_string
ip6_addr_string
ip4_addr_string
ip6_addr_string_sa
ip4_addr_string_sa
uuid_string
device_node_string