Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posix: Add Support for posix fstat #22

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Posix: Add Support for posix fstat #22

wants to merge 5 commits into from

Conversation

karthi012
Copy link

Add posix fstat implementation. fstat used fd for a file, but stat file need filename. In zephyr, there is no way to retreive file name from the fs_file_t struct. so adding filename variable to fs_file_t.

@karthi012 karthi012 force-pushed the posix_fstat branch 2 times, most recently from 5e0a72a to b58a65c Compare April 18, 2024 06:13
filename retreival is not possible in file system it is
neccessary to retain filename after create.

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Add posix fstat implementation

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Add test suite for posix fstat

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Add POSIX FILE_SYSTEM Options and mark yes for supported
file system options in POSIX Option Documentation

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
test suite build will fail if compiler warnings detected

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants