Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_fscurdir()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fsCurDir()
 Return a name of the current directory
------------------------------------------------------------------------------
 C Prototype

     #include "filesys.api"
     BYTEP _fsCurDir(
                          USHORT uiDrive
                       )

 Arguments

     uiDrive is the number of the disk drive to check, where 0 = current
     drive, 1 = A, 2 = B, 3 = C, etc.

 Returns

     _fsCurDir() returns a name of the current directory.  If an error
     occurs, or the current directory of the specified drive is the root
     directory, _fsCurDir() returns a null string ("").

 Description

     This function gets a name of the current directory on a specified disk
     drive.

 Examples

     .  The following code fragment illustrates the use of
        _fsCurDir():

        #include "filesys.api"
        .
        .
        .
        BYTEP cDir;
        cDir = _fsCurDir( 0 )      // Checks the current drive

 Files  Library is CLIPPER.LIB, header file is Filesys.api.


See Also: _fsError()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson