#include <string.h>
#include "fs.h"

char *core_getcwd(char *buf, size_t size)
{
    char *ret = NULL;

    if((buf != NULL) && (strlen(this_fs->cwd_name) < size)) {
        strcpy(buf, this_fs->cwd_name);
        ret = buf;
    }
    return ret;
}
