Retrieves the application’s current working directory.
int getCwd(string *workingDir);
Parameter |
Description |
---|---|
workingDir |
String to which you want to put the working directory. |
Integer.
Returns 1 for success, and 0 for failure.
string szHome
getCwd(&szHome);
erm(“my home [%s]”, szHome);
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |