| Function report | 
| Source Code: kernel\debug\kdb\kdb_main.c | Create Date:2022-07-28 11:40:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kdb_set - This function implements the 'set' command. Alter an* existing environment variable or create a new one.
Proto:int kdb_set(int argc, const char **argv)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | argc | |
| const char ** | argv | 
| 394 | If argc == 3 Then | 
| 399 | If argc != 2 Then Return KDB_ARGCOUNT | 
| 410 | If cp == argv[2] || debugflags & ~All debug flags Then | 
| 411 | kdb_printf("kdb: illegal debug flags '%s'\n", argv[2]) | 
| 413 | Return 0 | 
| 415 | Kernel debugger state flags = Kernel debugger state flags & ~(All debug flags << Shift factor for dbflags ) | debugflags << Shift factor for dbflags | 
| 419 | Return 0 | 
| 429 | If ep == 0 Then Return KDB_ENVBUFFULL | 
| 437 | If Initial environment[i] && strncmp(Initial environment[i], argv[1], varlen) == 0 && ( Initial environment[i][varlen] == '\0' || Initial environment[i][varlen] == '=' ) Then | 
| 441 | Initial environment[i] = ep | 
| 442 | Return 0 | 
| 450 | If Initial environment[i] == 0 Then | 
| 451 | Initial environment[i] = ep | 
| 452 | Return 0 | 
| 456 | Return KDB_ENVFULL | 
| Name | Describe | 
|---|---|
| kdb_dmesg | kdb_dmesg - This function implements the 'dmesg' command to display* the contents of the syslog buffer.* dmesg [lines] [adjust] | 
| 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 |