home *** CD-ROM | disk | FTP | other *** search
/ Super PC 34 / Super PC 34 (Shareware).iso / spc / UTIL / DJGPP2 / V2 / DJTST200.ZIP / tests / libc / dos / putpath.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-25  |  287 b   |  18 lines

  1. #include <libc/dosio.h>
  2. #include <go32.h>
  3. #include <stdio.h>
  4.  
  5. int
  6. main(int argc, char **argv)
  7. {
  8.   int i;
  9.   for (i=0; i<argc; i++)
  10.   {
  11.     char buf[200];
  12.     _put_path(argv[i]);
  13.     dosmemget(__tb, 200, buf);
  14.     printf("`%s' -> `%s'\n", argv[i], buf);
  15.   }
  16.   return 0;
  17. }
  18.