PM_getCurrentPath

Return the current operating system path or working directory.

Declaration

char * PMAPI PM_getCurrentPath(
char *path,
int maxLen)

Prototype In

pmapi.h

Parameters

path | Place to store the path string
maxLen | Maximum length of the path string

Return Value

Pointer to the current path string

Description

This function is used to obtain the current operating system path or working directory. The string is copied into the path parameter, with a maximum length of maxLen characters. A pointer to path is also returned from the function.

See Also

PM_getdcwd

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com