Home | History | Annotate | Download | only in toolbox
      1 #include <stdio.h>
      2 
      3 extern int cat_main(int argc, char **argv);
      4 
      5 int lsmod_main(int argc, char **argv)
      6 {
      7 	char *cat_argv[] = { "cat", "/proc/modules", NULL };
      8 	return cat_main(2, cat_argv);
      9 }
     10 
     11