Syntax
int util_chdir2path(char *path);
Returns
0 if the directory was changed or -1 if the directory could not be changed.
Parameters
is the name of a directory.
char *path
The parameter must be a writable string because it isn't permanently modified.
util_chdir2path
The
util_chdir2path
directory, where you will access a file.
When running under Windows NT, use a critical section to ensure that more than
one thread does not call this function at the same time.
Use
util_chdir2path
you do not need to use a full paths.
Syntax
int util_chdir2path(char *path);
Returns
0 if the directory was changed or -1 if the directory could not be changed.
Parameters
is the name of a directory.
char *path
The parameter must be a writable string because it isn't permanently modified.
util_cookie_find
The
util_cookie_find
returns its value.
Syntax
char *util_cookie_find(char *cookie, char *name);
Returns
If successful, returns a pointer to the
Otherwise, returns
NULL
null-terminating the name and value.
function changes the current directory to a specified
when you want to make file access a little quicker, because
function finds a specific cookie in a cookie string and
-terminated value of the cookie.
NULL
. This function modifies the cookie string parameter by
NSAPI Functions (in Alphabetical Order)
Chapter 5
NSAPI Function Reference
191