mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-12 03:09:11 +08:00
Merge pull request #3945 from mysterywolf/getline3
将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧
This commit is contained in:
commit
b1f528ea69
@ -11,7 +11,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef RT_USING_POSIX_TERMIOS
|
#ifdef RT_USING_POSIX_TERMIOS
|
||||||
#include <termios.h>
|
#include "termios.h"
|
||||||
|
|
||||||
int isatty(int fd)
|
int isatty(int fd)
|
||||||
{
|
{
|
||||||
|
@ -11,9 +11,7 @@ These are ersatz functions, a drop-in replacement, to be used on those occasions
|
|||||||
|
|
||||||
For more details, see [Open Group Base Specification for getdelim/getline][opengroup-spec].
|
For more details, see [Open Group Base Specification for getdelim/getline][opengroup-spec].
|
||||||
|
|
||||||
## Building the project
|
|
||||||
|
|
||||||
Just run `make`.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
@ -22,6 +20,8 @@ This code is unlicensed -- free and released into the public domain. See `UNLICE
|
|||||||
[opengroup-spec]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html
|
[opengroup-spec]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 联系&维护
|
## 联系&维护
|
||||||
Meco Man
|
Meco Man
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* Meco Man 2020-09-03 First Version
|
* Meco Man 2020-09-03 First Version
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <posix_getline.h>
|
#include "posix_getline.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <rtlibc.h>
|
#include <rtlibc.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user