Skip to content

Commit 715a931

Browse files
authored
[libc] Added tablegen definition for fileno (#85682)
This was missed in the previous PR. Updating tablegen definition with this PR.
1 parent 7ef1a59 commit 715a931

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libc/spec/posix.td

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,11 @@ def POSIX : StandardSpec<"POSIX"> {
11691169
RetValSpec<IntType>,
11701170
[ArgSpec<VoidType>]
11711171
>,
1172+
FunctionSpec<
1173+
"fileno",
1174+
RetValSpec<IntType>,
1175+
[ArgSpec<FILEPtr>]
1176+
>,
11721177
]
11731178
>;
11741179

0 commit comments

Comments
 (0)