Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
309 B

  1. /*
  2. * Getwd: Not Posix. Written in terms of Posix call, getcwd. AOJ
  3. */
  4. #include <unistd.h>
  5. char *getwd (buf)
  6. register char
  7. *buf;
  8. {
  9. return getcwd (buf, 80);
  10. }
  11. /*
  12. main (argc, argv)
  13. char **argv;
  14. {
  15. char
  16. *c,
  17. buf [64];
  18. c = getwd (buf);
  19. if (!c)
  20. puts ("failed");
  21. printf ("getwd %s\n", buf);
  22. }
  23. */