Minix1.5/commands/printenv.c

Compare this file to the similar file:
Show the results in this format:

/* printenv - print the current environment	Author: Richard Todd */

main()
{
  extern char **environ;
  char **sptr;
  for (sptr = environ; *sptr; ++sptr) {
	prints("%s\n", *sptr);
  }
}