tVFS_Handle *h = VFS_GetHandle(FD);
char *tmp;
+ ENTER("ph pDest", h, Dest);
+
if(h) return -1;
if(h->Node->ReadDir == NULL) return 0;
if(dp == -1)\r
{\r
//printf("Unable to open directory `%s', File cannot be found\n", tmpPath);\r
- //write(_stdout, 27, "Unable to open directory `");\r
- //write(_stdout, strlen(tmpPath)+1, tmpPath);\r
- //write(_stdout, 25, "', File cannot be found\n");\r
+ write(_stdout, 27, "Unable to open directory `");\r
+ write(_stdout, strlen(tmpPath)+1, tmpPath);\r
+ write(_stdout, 25, "', File cannot be found\n");\r
return;\r
}\r
// Get File Stats\r
int seek(int fd, uint64_t offset, int whence);
int ioctl(int fd, int id, void *data);
int finfo(int fd, t_sysFInfo *info, int maxacls);
+ int readdir(int fd, char *dest);
// --- MEMORY ---
uint64_t _SysGetPhys(uint vaddr);