Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\usb.h Create Date:2022-07-28 12:40:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sb_make_path - returns stable device path in the usb tree*@dev: the device whose path is being constructed*@buf: where to put the string*@size: how big is "buf"?* Return: Length of the string (> 0) or negative if size was too small

Proto:static inline int usb_make_path(struct usb_device *dev, char *buf, size_t size)

Type:int

Parameter:

TypeParameterName
struct usb_device *dev
char *buf
size_tsize
914  actual = 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*@
916  Return If actual >= size Then -1 Else actual