Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\util.c Create Date:2022-07-28 19:47:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void tomoyo_print_ulong(char *buffer, const int buffer_len, const unsigned long value, const u8 type)

Type:void

Parameter:

TypeParameterName
char *buffer
const intbuffer_len
const unsigned longvalue
const u8type
227  If type == TOMOYO_VALUE_TYPE_DECIMAL Then 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*@
229  Else if type == TOMOYO_VALUE_TYPE_OCTAL Then 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*@
231  Else if type == TOMOYO_VALUE_TYPE_HEXADECIMAL Then 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*@
233  Else 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*@