函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle string from a well known address.

函数原型:static char *string_nocheck(char *buf, char *end, const char *s, struct printf_spec spec)

返回类型:char

参数:

类型参数名称
char *buf
char *end
const char *s
struct printf_specspec
603  len等于0
604  lim等于 # of digits/chars
606 lim自减循环
607  c等于s自加
608  如果非c退出
610  如果buf小于endbuf等于c
612  buf先自加
613  len先自加
615  返回: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.
调用者
名称描述
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