diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2022-10-21 06:46:31 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2022-10-22 03:34:44 +0000 |
commit | 0480b45e9eabe4df1c58c1d3f1aa49c75defcbe5 (patch) | |
tree | e3e0ff76d8f000f4c08d66ed7058409418fb6d4a /libc/spec | |
parent | 2a038f91387c7fc476db83eb04a614c3a1e94e15 (diff) | |
download | llvm-0480b45e9eabe4df1c58c1d3f1aa49c75defcbe5.tar.gz |
[libc] Add implementation of fgetc.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D136421
Diffstat (limited to 'libc/spec')
-rw-r--r-- | libc/spec/stdc.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td index 310887217f44..a1327f976970 100644 --- a/libc/spec/stdc.td +++ b/libc/spec/stdc.td @@ -526,6 +526,11 @@ def StdC : StandardSpec<"stdc"> { [ArgSpec<FILEPtr>] >, FunctionSpec< + "fgetc", + RetValSpec<IntType>, + [ArgSpec<FILEPtr>] + >, + FunctionSpec< "fflush", RetValSpec<IntType>, [ArgSpec<FILEPtr>] |