mirror of
https://github.com/drasko/codezero.git
synced 2026-02-19 13:23:16 +01:00
Added test code for testing of directory listing.
Added system call prototypes and posix glue for reading a directory. TODO: FS0 should implement the L4_IPC_TAG_READDIR ipc call.
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#define L4_IPC_TAG_LSEEK 15
|
||||
#define L4_IPC_TAG_CLOSE 16
|
||||
#define L4_IPC_TAG_BRK 17
|
||||
#define L4_IPC_TAG_READDIR 18
|
||||
|
||||
/* Tags for ipc between fs0 and mm0 */
|
||||
#define L4_IPC_TAG_OPENDATA 25
|
||||
|
||||
7
tasks/libl4/include/l4lib/os/posix/readdir.h
Normal file
7
tasks/libl4/include/l4lib/os/posix/readdir.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef __OS_READDIR_H__
|
||||
#define __OS_READDIR_H__
|
||||
|
||||
/* Any os syscall related data that is not in posix */
|
||||
ssize_t os_readdir(int fd, void *buf, size_t count);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user