<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85150>85150</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc][posix 2001] implement fileno
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nickdesaulniers
</td>
</tr>
</table>
<pre>
libc++ depends on posix fileno. We should implement this in libc.
see `man 3 fileno`.
https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkcGOnSAUhp_muCFj4CAqCxZze-MrdA1yRmkRjGDTvn2jd5J2NrDgnC8_329LCUsiMqAeoJ6NPeuaD5PC_NNTsWdMgY7SuOz_mBjcDPgAfDBPOyVfWE5szyX8Zh8hUsot-06srPmMnoVtj7RRqqyuobCQ2LXfAn8Cf3-dhYhBzzebmPwkQM-_jKy17gXkO-AEOO2nK23eKS1HPvc2HwvglFMMia4nwEn3WmuhB61b5GIkH2rICXBqvJFeS20bMmIQXA4ou7FZjfKWemlJf2DvJWJnxTDMUljXExHyJhjk2HEpJEpU3dhKtM51wzyqcbCjE9Bx2myIbYy_titUE0o5yYxKKN5E6yiW2y_ikrNnH-Eold0zgAj4DRBfbvGq4DAX582dS4GOx1Bq-Ueuoca7rHtBPUE9XgUg5wLU8z_tL6HNeUTz1eIS6nq6ds4b4HSRP6-3_cg_aK6A0x3u8nn_4W8AAAD__yidrEQ">