[libc] Add the implementation of the GNU extension function fopencookie.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 19 Apr 2022 22:06:07 +0000 (22:06 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 22 Apr 2022 08:02:25 +0000 (08:02 +0000)
commit19a6dd33eeb2462d0e83d3cbed3823cfe56e2082
tree3f7423a010fb0381459338a180690e6b20ccf8d4
parentdf18e37541a2316a2c79774ef16000c063c292c7
[libc] Add the implementation of the GNU extension function fopencookie.

Reviewed By: lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D124141
13 files changed:
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-types/CMakeLists.txt
libc/include/llvm-libc-types/cookie_io_functions_t.h [new file with mode: 0644]
libc/include/llvm-libc-types/off64_t.h [new file with mode: 0644]
libc/spec/gnu_ext.td
libc/spec/spec.td
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fopencookie.cpp [new file with mode: 0644]
libc/src/stdio/fopencookie.h [new file with mode: 0644]
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/fopencookie_test.cpp [new file with mode: 0644]