update for HEAD-2003091401
[reactos.git] / lib / msvcrt / stdlib / fullpath.c
1 /*
2  * COPYRIGHT:   See COPYING in the top level directory
3  * PROJECT:     ReactOS system libraries
4  * FILE:        lib/msvcrt/stdlib/fullpath.c
5  * PURPOSE:     Gets the fullpathname
6  * PROGRAMER:   Boudewijn Dekker
7  * UPDATE HISTORY:
8  *              28/12/98: Created
9  */
10 #include <windows.h>
11 #include <msvcrt/stdlib.h>
12
13
14 /*
15  * @implemented
16  */
17 char* _fullpath(char* absPath, const char* relPath, size_t maxLength)
18 {
19     char* lpFilePart;
20
21     if (GetFullPathNameA(relPath,maxLength,absPath,&lpFilePart) == 0)
22         return NULL;
23
24     return absPath;
25 }