EVE 1.0
#include "contiki.h"
Include dependency graph for cfs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CFS_READ   1
 
#define CFS_WRITE   2
 
#define CFS_APPEND   4
 
#define CFS_SEEK_SET   0
 
#define CFS_SEEK_CUR   1
 
#define CFS_SEEK_END   2
 

Functions

CCIF int cfs_open (const char *name, int flags)
 Open a file. More...
 
CCIF void cfs_close (int fd)
 Close an open file. More...
 
CCIF int cfs_read (int fd, void *buf, unsigned int len)
 Read data from an open file. More...
 
CCIF int cfs_write (int fd, const void *buf, unsigned int len)
 Write data to an open file. More...
 
CCIF cfs_offset_t cfs_seek (int fd, cfs_offset_t offset, int whence)
 Seek to a specified position in an open file. More...
 
CCIF int cfs_remove (const char *name)
 Remove a file. More...
 
CCIF int cfs_opendir (struct cfs_dir *dirp, const char *name)
 Open a directory for reading directory entries. More...
 
CCIF int cfs_readdir (struct cfs_dir *dirp, struct cfs_dirent *dirent)
 Read a directory entry. More...
 
CCIF void cfs_closedir (struct cfs_dir *dirp)
 Close a directory opened with cfs_opendir(). More...
 

Detailed Description

CFS header file.

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file cfs.h.