函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\util.c Create Date:2022-07-27 21:16:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_print_ulong - Print an "unsigned long" value.*@buffer: Pointer to buffer.*@buffer_len: Size of @buffer.*@value: An "unsigned long" value.*@type: Type of @value.* Returns nothing.

函数原型:void tomoyo_print_ulong(char *buffer, const int buffer_len, const unsigned long value, const u8 type)

返回类型:void

参数:

类型参数名称
char *buffer
const intbuffer_len
const unsigned longvalue
const u8type
227  如果type恒等于TOMOYO_VALUE_TYPE_DECIMALsnprintf - 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*@
229  否则如果type恒等于TOMOYO_VALUE_TYPE_OCTALsnprintf - 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*@
231  否则如果type恒等于TOMOYO_VALUE_TYPE_HEXADECIMALsnprintf - 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*@
233  否则snprintf - 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*@