Function report |
Source Code:kernel\debug\kdb\kdb_io.c |
Create Date:2022-07-28 11:39:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_getchar() - Read a single character from a kdb console (or consoles)
Proto:char kdb_getchar(void)
Type:char
Parameter:Nothing
| 132 | escape_delay = 0 |
| 133 | get_char_func * f, * f_prev = NULL |
| 136 | cycle |
| 137 | If ( * f == NULL) Then |
| 140 | f = kdb_poll_funcs[0] |
| 144 | If key == -1 Then |
| 145 | If escape_delay Then |
| 146 | 0x10c7 is 2**32 / 1000000 (rounded up) (kdb_getchar() - Read a single character from a kdb console (or consoles)) |
| 147 | If --escape_delay == 0 Then Return '\e' |
| 150 | Continue |
| Name | Describe |
|---|---|
| kdb_read | kdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received |
| vkdb_printf | |
| kdb_bt1 | kdb_bt* This function implements the 'bt' command |
| 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 |