Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\oid_registry.c Create Date:2022-07-28 07:22:09
Last Modify:2020-03-16 15:34:20 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sprint_OID - Print an Object Identifier into a buffer*@oid: The OID to print*@buffer: The buffer to render into*@bufsize: The size of the buffer* The OID is rendered into the buffer in "a.b.c.d" format and the number of* bytes is returned.

Proto:int sprint_OID(enum OID oid, char *buffer, size_t bufsize)

Type:int

Parameter:

TypeParameterName
enum OIDoid
char *buffer
size_tbufsize
167  BUG_ON(oid >= OID__NR)
169  ret = sprint_OID - Print an Object Identifier into a buffer*@data: The encoded OID to print*@datasize: The size of the encoded OID*@buffer: The buffer to render into*@bufsize: The size of the buffer* The OID is rendered into the buffer in "a
172  BUG_ON(ret == - EBADMSG)
173  Return ret