M7350/system/core/toolbox/lsmod.c
2024-09-09 08:52:07 +00:00

11 lines
193 B
C

#include <stdio.h>
extern int cat_main(int argc, char **argv);
int lsmod_main(int argc, char **argv)
{
char *cat_argv[] = { "cat", "/proc/modules", NULL };
return cat_main(2, cat_argv);
}