| 685 | }; |
| 686 | |
| 687 | static struct cmd_struct *get_builtin(const char *s) |
| 688 | { |
| 689 | for (size_t i = 0; i < ARRAY_SIZE(commands); i++) { |
| 690 | struct cmd_struct *p = commands + i; |
| 691 | if (!strcmp(s, p->cmd)) |
| 692 | return p; |
| 693 | } |
| 694 | return NULL; |
| 695 | } |
| 696 | |
| 697 | int is_builtin(const char *s) |
| 698 | { |
no outgoing calls
no test coverage detected