casaroli commented on code in PR #20565:
URL: https://github.com/apache/nuttx/pull/20565#discussion_r4243157383


##########
include/stdio.h:
##########
@@ -132,6 +141,10 @@ extern "C"
 
 /* ANSI-like File System Interfaces */
 
+/* The standard streams, see stdin, stdout and stderr above */
+
+FAR FILE *lib_get_stream(int fd);

Review Comment:
   `stdin`, `stdout` and `stderr` expand to `lib_get_stream()`, which is 
declared in `nuttx/lib/lib.h`. `stdio.h` no longer includes that header for the 
programs of a kernel build, so it declares the function itself.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to