RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
dfs_posix.c 文件参考
#include <dfs.h>
#include <unistd.h>
#include <dfs_dentry.h>
#include <dfs_mnt.h>
#include "dfs_private.h"
#include <finsh.h>
+ dfs_posix.c 的引用(Include)关系图:

浏览该文件的源代码.

宏定义

#define AT_FDCWD   (-100)
 

函数

int open (const char *file, int flags,...)
 
 RTM_EXPORT (open)
 
int openat (int dirfd, const char *path, int flag,...)
 
int utimensat (int __fd, const char *__path, const struct timespec __times[2], int __flags)
 
int creat (const char *path, mode_t mode)
 
 RTM_EXPORT (creat)
 
int close (int fd)
 
 RTM_EXPORT (close)
 
ssize_t read (int fd, void *buf, size_t len)
 
 RTM_EXPORT (read)
 
ssize_t write (int fd, const void *buf, size_t len)
 
 RTM_EXPORT (write)
 
off_t lseek (int fd, off_t offset, int whence)
 
 RTM_EXPORT (lseek)
 
int rename (const char *old_file, const char *new_file)
 
 RTM_EXPORT (rename)
 
int unlink (const char *pathname)
 
 RTM_EXPORT (unlink)
 
int stat (const char *file, struct stat *buf)
 
 RTM_EXPORT (stat)
 
int fstat (int fildes, struct stat *buf)
 
 RTM_EXPORT (fstat)
 
int fsync (int fildes)
 
 RTM_EXPORT (fsync)
 
int fcntl (int fildes, int cmd,...)
 
 RTM_EXPORT (fcntl)
 
int ioctl (int fildes, int cmd,...)
 
 RTM_EXPORT (ioctl)
 
int ftruncate (int fd, off_t length)
 
 RTM_EXPORT (ftruncate)
 
int statfs (const char *path, struct statfs *buf)
 
 RTM_EXPORT (statfs)
 
int fstatfs (int fildes, struct statfs *buf)
 
 RTM_EXPORT (fstatfs)
 
int mkdir (const char *path, mode_t mode)
 
 RTM_EXPORT (mkdir)
 
 FINSH_FUNCTION_EXPORT (mkdir, create a directory)
 
int rmdir (const char *pathname)
 
 RTM_EXPORT (rmdir)
 
DIR * opendir (const char *name)
 
 RTM_EXPORT (opendir)
 
struct dirent * readdir (DIR *d)
 
 RTM_EXPORT (readdir)
 
long telldir (DIR *d)
 
 RTM_EXPORT (telldir)
 
void seekdir (DIR *d, long offset)
 
 RTM_EXPORT (seekdir)
 
void rewinddir (DIR *d)
 
 RTM_EXPORT (rewinddir)
 
int closedir (DIR *d)
 
 RTM_EXPORT (closedir)
 
int access (const char *path, int amode)
 
void setcwd (char *buf)
 
 RTM_EXPORT (setcwd)
 
char * getcwd (char *buf, size_t size)
 
 RTM_EXPORT (getcwd)
 
ssize_t pread (int fd, void *buf, size_t len, off_t offset)
 
 RTM_EXPORT (pread)
 
ssize_t pwrite (int fd, const void *buf, size_t len, off_t offset)
 
 RTM_EXPORT (pwrite)