config.c.in 782 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include "init.h"
  8. static __initdata char *config = "CONFIG";
  9. static int __init print_config(char *line, int *add)
  10. {
  11. printf("%s", config);
  12. exit(0);
  13. }
  14. __uml_setup("--showconfig", print_config,
  15. "--showconfig\n"
  16. " Prints the config file that this UML binary was generated from.\n\n"
  17. );
  18. /*
  19. * Overrides for Emacs so that we follow Linus's tabbing style.
  20. * Emacs will notice this stuff at the end of the file and automatically
  21. * adjust the settings for this buffer only. This must remain at the end
  22. * of the file.
  23. * ---------------------------------------------------------------------------
  24. * Local variables:
  25. * c-file-style: "linux"
  26. * End:
  27. */