pkarashchenko commented on PR #8435: URL: https://github.com/apache/nuttx/pull/8435#issuecomment-1419209786
But according to https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html ``` The <fcntl.h> header shall define the values used for l_whence, SEEK_SET, SEEK_CUR, and SEEK_END as described in [<stdio.h>](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html). ``` and https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html ``` The optional [<unistd.h>](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html) header is removed from this function, since [<fcntl.h>](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html) now defines SEEK_SET, SEEK_CUR, and SEEK_END as part of the Base. ``` Let me take a look into headers more carefully. Seems there is some conflict, but maybe there is a description in latest POSIX specs of how to handle those conflict -- 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]
