home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume3 / getpath / getpath.doc < prev    next >
Encoding:
Text File  |  1989-02-03  |  479 b   |  13 lines

  1. /*
  2.  * getpath.doc
  3.  */
  4.  
  5. /*
  6.  This little utility function parses a DOS file name and returns a structure
  7.  containing the drive, path, name and extension of the file.  If the drive 
  8.  and path are omitted in the input filename, getpath supplies the current
  9.  working directory by default.  The function was written for the Aztec C (tm)
  10.  compiler, but should be compatible with any standard C compiler.  A small
  11.  program, sample.c is included to show the operation of the function.
  12. */
  13.