浏览代码

增加posix_getline.c/.h版权信息

mysterywolf 4 年之前
父节点
当前提交
05190990b4
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      components/libc/getline/posix_getline.c
  2. 1 0
      components/libc/getline/posix_getline.h

+ 1 - 0
components/libc/getline/posix_getline.c

@@ -1,6 +1,7 @@
 /* posix_getline.c
 /* posix_getline.c
  * RT-Thread POSIX
  * RT-Thread POSIX
  * getdelim(), getline() - read a delimited record from stream, ersatz implementation
  * getdelim(), getline() - read a delimited record from stream, ersatz implementation
+ * This code is unlicensed -- free and released into the public domain. 
  * https://man7.org/linux/man-pages/man3/getline.3.html
  * https://man7.org/linux/man-pages/man3/getline.3.html
  * Authors:
  * Authors:
  *     https://github.com/ivanrad/getline
  *     https://github.com/ivanrad/getline

+ 1 - 0
components/libc/getline/posix_getline.h

@@ -1,6 +1,7 @@
 /* posix_getline.h
 /* posix_getline.h
  * RT-Thread POSIX
  * RT-Thread POSIX
  * getdelim(), getline() - read a delimited record from stream, ersatz implementation
  * getdelim(), getline() - read a delimited record from stream, ersatz implementation
+ * This code is unlicensed -- free and released into the public domain. 
  * https://man7.org/linux/man-pages/man3/getline.3.html
  * https://man7.org/linux/man-pages/man3/getline.3.html
  * Authors:
  * Authors:
  *     https://github.com/ivanrad/getline
  *     https://github.com/ivanrad/getline