Bootstrap7.c 606 B

12345678910111213141516171819
  1. /* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
  2. /* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
  3. #include "pal_debug.h"
  4. int main (int argc, char ** argv, char ** envp)
  5. {
  6. /* check if the programriables in the manifest should appear is loaded */
  7. pal_printf("User Program Started\n");
  8. /* check control block */
  9. /* print all environmental variables */
  10. /* environmental variables in Manifest should appear */
  11. for (int i = 0; envp[i]; i++) {
  12. pal_printf("%s\n", envp[i]);
  13. }
  14. return 0;
  15. }