src/dpdk/drivers/net/qede/qede_debug.c
static void qed_read_str_from_buf(void *buf, u32 *offset, u32 size, char *dest)
{
	const char *source_str = &((const char *)buf)[*offset];

	OSAL_STRNCPY(dest, source_str, size);
	dest[size - 1] = '\0';
	*offset += size;
}
/* Reads the next string from the specified buffer, and copies it to the
 * specified pointer. The specified buffer offset is updated.
 */
Reads the next string from the specified buffer, and copies it to the
specified pointer. The specified buffer offset is updated.
Reads the next string from the specified buffer and copies it to the specified pointer . The specified buffer offset is updated .
static void qed_read_str_from_buf(void *buf, u32 *offset, u32 size, char *dest)
{
	const char *source_str = &((const char *)buf)[*offset];
	OSAL_STRNCPY(dest, source_str, size);
	dest[size - 1] = '\0';
	*offset += size;
}
static void qed_read_str_from_buf ( void * buf , u32 * offset , u32 size , char * dest ) { const char * source_str = & ( ( const char * ) buf ) [ * offset ] ; OSAL_STRNCPY ( dest , source_str , size ) ; dest [ size - 1 ] = ' \0 ' ; * offset += size ; }
Reads the next string from the specified buffer, and copies it to the
 specified pointer.
Reads the next string from the specified buffer and copies it to the specified pointer .