45 Commits

Author SHA1 Message Date
zhangjun
60f2ae4d3c [components][dfs]添加ftruncate接口 2019-09-26 10:22:33 +08:00
tyustli
d8eb0cfc1e fix kernel and framework no cast type error 2019-06-18 20:09:19 +08:00
tangyuxin
e71ec65549 [components][dfs]格式化代码 2019-04-08 14:51:01 +08:00
shaojinchun
2a57ba9f96 统一getcwd和chdir的加锁方式 2018-11-22 18:21:45 +08:00
Bernard Xiong
e108dfe4a5 [libc] Fix the _EXFUN issue in newlib 2018-11-10 16:58:07 +08:00
Bernard Xiong
8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
zylx
8431c05635 [dfs] fix ioctl getflag/setflag issue. 2018-10-13 10:23:47 +08:00
armink
c779104ef7 [dfs] Fix dfs_file_ioctl return check on fcntl. 2018-07-13 11:14:36 +08:00
Bernard Xiong
4e41b0573b [libc] fix the fcntl issue in newlib 2018-02-07 19:55:35 +08:00
BernardXiong
5a95d35626 [DFS] Add fcntl API (same with ioctl in RT-Thread). 2017-12-31 14:46:24 +08:00
bernard
0f5a68a55e [dfs] add poll/select
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
bernard
bc0fbbfe82 [DFS] change the cmd to long data type. 2017-06-15 14:37:18 +08:00
Bernard Xiong
e68a3a977a [DFS] Remove stat/fstat function under WIN32 simulation. 2016-04-06 01:16:09 +08:00
Bernard Xiong
455daf8e7a Add ioctl API and fix the read/write conflict issue with newlib's API. 2015-12-22 10:18:36 +08:00
Bernard Xiong
d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
www220@tom.com
3bd1a372a0 修正mkdir lseek中文件句柄不释放的bug 2015-09-11 19:34:37 +08:00
Bernard Xiong
52e0d3ce0f [DFS] Add fsync function 2015-07-16 10:35:42 +08:00
bernard
582aff86ed Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-08-01 12:03:24 +08:00
bernard
516711dc1d [DFS] make comments cleanup. 2014-08-01 12:03:11 +08:00
Bernard Xiong
59c128c073 [libc] fix compiling warning 2014-07-31 09:30:18 +08:00
yiyue.fang
773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong
98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Ming, Bai
b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
goprife@gmail.com
911cbb5793 move check dfs_fd valid code from close to fd_get
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 02:49:35 +00:00
goprife@gmail.com
1c419d428e check dfs_fd valid in close
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2539 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-28 13:40:52 +00:00
dzzxzz@gmail.com
69521e2c8f fixed the coding style in components/dfs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2530 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 01:12:13 +00:00
qiuyiuestc@gmail.com
76ba5137dd export symbols in dfs_posix.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2304 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 12:55:35 +00:00
dzzxzz@gmail.com
fdc7dfc768 use RT_NULL instead of NULL in DFS, and format the code in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:25:19 +00:00
bernard.xiong@gmail.com
94d413a7a7 merge 1.0.2 modification.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-29 06:03:11 +00:00
goprife@gmail.com
6202b6c155 fix bugs in lseek in dfs_posix.c and dfs_jffs2.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-15 07:28:47 +00:00
dzzxzz@gmail.com
48a170f861 calling function fd_put() before rt_set_errno()
then tid->error can avoid being changed unexpectedly

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1940 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 03:30:30 +00:00
bernard.xiong@gmail.com
23839bc886 fix rename issue in DFS.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1890 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 04:05:40 +00:00
dzzxzz
44a2d720a0 unify the components/dfs coding style according to the /documentation/coding_style_cn.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1866 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:11:55 +00:00
yungchi@cs.nctu.edu.tw
cba5eb60f8 use DFS_STATUS_EINVAL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 15:49:55 +00:00
yungchi@cs.nctu.edu.tw
f66dafe7a6 fix lseek underflow problem
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1767 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 11:33:30 +00:00
bernard.xiong@gmail.com
b2f9217686 change to UNIX end of line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:50:08 +00:00
bernard.xiong@gmail.com
d37f7b6100 fix directory seek issue in FatFs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1448 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:02:57 +00:00
bernard.xiong@gmail.com
f8397a1693 fix mkdir issue; add cd command in finsh.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1185 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 00:07:03 +00:00
bernard.xiong@gmail.com
7a80d831c9 update doxygen comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong@gmail.com
10732a76e9 cleanup scons building script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
bernard.xiong@gmail.com
d4c03d07cf add fstat implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1057 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 23:36:33 +00:00
bernard.xiong
b4a98e4457 Improve the Device File System of the POSIX compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 08:18:24 +00:00
bernard.xiong
8772a35e3b change dfs_stat/dfs_statfs to _stat/_statfs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@822 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-03 08:47:09 +00:00
bernard.xiong@gmail.com
33feb176d0 add flush, statfs, mkfs to device file system interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@802 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:15:53 +00:00
bernard.xiong
075498e796 move to components directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@634 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:01:28 +00:00