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


##########
include/nuttx/fs/fs.h:
##########
@@ -541,6 +565,31 @@ struct fdlist
   struct fd         fl_prefds[CONFIG_NFILE_DESCRIPTORS_PER_BLOCK];
 };
 
+/****************************************************************************
+ * Inline Functions
+ ****************************************************************************/
+
+/* The _NX_FILE interfaces of the user space: a result < 0 becomes the
+ * negated errno value.
+ */
+
+#if !defined(CONFIG_BUILD_FLAT) && !defined(__KERNEL__)
+static inline int _nx_file_errint(int ret)

Review Comment:
   Done.



##########
include/nuttx/streams.h:
##########


Review Comment:
   This belongs to the stdio redesign; I suggest we do it in that PR.



-- 
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