This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add implementation of POSIX lseek function.
ClosedPublic

Authored by sivachandra on Mar 15 2022, 2:03 AM.

Diff Detail

Event Timeline

sivachandra created this revision.Mar 15 2022, 2:03 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 15 2022, 2:03 AM
sivachandra requested review of this revision.Mar 15 2022, 2:03 AM
lntue accepted this revision.Mar 15 2022, 6:50 AM
lntue added inline comments.
libc/include/llvm-libc-macros/file-seek-macros.h
8–9

I think you should change the header guard to match the file name.

libc/test/src/unistd/lseek_test.cpp
2

*lseek

This revision is now accepted and ready to land.Mar 15 2022, 6:50 AM

Fix up doc comments and header guards.

This revision was automatically updated to reflect the committed changes.