maht commented on code in PR #6152:
URL: https://github.com/apache/incubator-nuttx/pull/6152#discussion_r861657894


##########
libs/libc/stdio/lib_libfilesem.c:
##########
@@ -60,7 +60,8 @@ void lib_sem_initialize(FAR struct file_struct *stream)
  * lib_take_semaphore
  ****************************************************************************/
 
-void lib_take_semaphore(FAR struct file_struct *stream)
+int lib_take_semaphore(FAR struct file_struct *stream,

Review Comment:
   I was doubting about. Probably for this case is better to pass a flag as you 
commented and maybe @yamt agrees too. I will change it.



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