char *osdCWDGet(char *buffer, int size)
If buffer is NULL, osdCWDGet()
will allocate the space and return a pointer to it.
osdCWDGet() returns a pointer to the current directory pathname if successful.
On failure, NULL is returned.
| buffer | the buffer in which the current working directory is returned |
| size | the size of buffer in bytes |