
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@536 ec53bebd-3082-4978-b11e-865c3cabbd6b
18 lines
245 B
C
18 lines
245 B
C
#ifdef HAVE_CONFIG_H
|
|
#include <config.h>
|
|
RCSID("$Id$");
|
|
#endif
|
|
|
|
#include <sys/param.h>
|
|
|
|
char*
|
|
getcwd(char *path, int size)
|
|
{
|
|
char xxx[MaxPathLen];
|
|
char *ret;
|
|
ret = getwd(xxx);
|
|
if(ret)
|
|
strncpy(path, xxx, size);
|
|
return ret;
|
|
}
|