[libc] Add implementations of ftell.
authorSiva Chandra Reddy <sivachandra@google.com>
Fri, 4 Nov 2022 05:42:49 +0000 (05:42 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Mon, 7 Nov 2022 21:38:53 +0000 (21:38 +0000)
commit43e52ad553cbafb78386e9e6e1204c8de8a506d4
treeddb043484f2d4229f5336b8017d1a805be23a155
parentd8233b5b4f4394b6d8fd969cb786bd702982f5cb
[libc] Add implementations of ftell.

Reviewed By: michaelrj, lntue

Differential Revision: https://reviews.llvm.org/D137395
13 files changed:
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/spec/stdc.td
libc/src/__support/File/file.cpp
libc/src/__support/File/file.h
libc/src/__support/File/linux_file.cpp
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fopencookie.cpp
libc/src/stdio/ftell.cpp [new file with mode: 0644]
libc/src/stdio/ftell.h [new file with mode: 0644]
libc/test/src/__support/File/file_test.cpp
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/ftell_test.cpp [new file with mode: 0644]