Bladeren bron

add license information

luo jiao 7 jaren geleden
bovenliggende
commit
4b00df21e9

+ 10 - 0
mkdir/mkdir_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:创建目录
  *
@@ -7,6 +16,7 @@
  * mkdir()函数用来创建一个目录,参数path 为目录名,
  * 参数mode 在当前版本未启用,输入0x777 即可。
 */
+
 #include <rtthread.h>
 #include <dfs_posix.h> /* 当需要使用文件操作时,需要包含这个头文件 */
 

+ 9 - 0
opendir/opendir_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:打开目录
  *

+ 9 - 0
openfile/openfile_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:打开文件
  *

+ 9 - 0
readdir/readdir_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:读取目录
  *

+ 9 - 0
readwrite/readwrite_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 代码清单:文件读写例子
  *

+ 9 - 0
rename/rename_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:更改名称
  *

+ 9 - 0
stat/stat_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:取得状态
  *

+ 9 - 0
tell_seek_dir/tell_seek_dir_sample.c

@@ -1,3 +1,12 @@
+/* 
+ * Copyright (c) 2006-2018, RT-Thread Development Team 
+ * 
+ * SPDX-License-Identifier: Apache-2.0 
+ * 
+ * Change Logs: 
+ * Date             Author      Notes
+ * 
+ */
 /*
  * 程序清单:保存与设置读取目录位置
  *