Function report |
Source Code:lib\seq_buf.c |
Create Date:2022-07-28 06:14:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:seq_buf_putmem_hex - write raw memory into the buffer in ASCII hex*@s: seq_buf descriptor*@mem: The raw memory to write its hex ASCII representation of*@len: The length of the raw memory to copy (in bytes)* This is similar to seq_buf_putmem() except
Proto:int seq_buf_putmem_hex(struct seq_buf *s, const void *mem, unsigned int len)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_buf * | s | |
| const void * | mem | |
| unsigned int | len |
| 232 | start_len = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(len, HEX_CHARS - 1) |
| 238 | hex[j++] = hex_asc_hi(data[i]) |
| 239 | hex[j++] = hex_asc_lo(data[i]) |
| 241 | If WARN_ON_ONCE(j == 0 || j / 2 > len) Then Break |
| 252 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |