rem: { struct vnode* cwd = get_current_io_context(kernel)->cwd;
context: vfs_get_cwd(char* buf, size_t size, bool kernel){	// Get current working directory from io context#if MAKE_NOIZE	dprintf("vfs_get_cwd: buf 0x%x, 0x%x\n", buf, size);#endif	{	struct vnode* cwd = get_current_io_context(kernel)->cwd;	if (cwd)		//		// vnode_to_path() takes the cwd vnode and computes		// a full path string from it, which is then copied		// into the given buffer.		//		// WARNING: the current version of this function		// utilizes a gross hack and will be removed and/or		// replaced in the future...		//		return vnode_to_path(cwd, buf, size);	else		return B_ERROR; 	}}