Implement getcwd function

Issue #120 new
Patryk Kubiak created an issue

The function getpwd should be implemented as part of the oc_system.h library. If the outBuffer argument is NULL, then the function should return const pointer to the path The prototype for the function:

extern const char * getcwd( char * outBuffer );

The function returns string with current working directory path of the current process. It should use functions:

char * oC_Process_GetPwd( oC_Process_t Process );
oC_Process_t oC_ProcessMan_GetCurrentProcess( void );

Comments (2)

  1. Log in to comment