<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/133953>133953</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc] Implement utimes
</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>
michaelrj-google
</td>
</tr>
</table>
<pre>
Described in Posix: https://pubs.opengroup.org/onlinepubs/9799919799/functions/futimens.html
Here's a checklist for what you'll need to do for this:
- [ ] Add the implementation of `utimes` in `/src/sys/time` (you will need to create this directory).
- [ ] Add tests for `utimes` in `/test/src/sys/time` (you will also need to create this directory).
- [ ] Make sure the test has at least one case where the function succeeds and at least one case where the function fails.
- [ ] Add `utimes` to [`entrypoints.txt`](https://github.com/llvm/llvm-project/blob/main/libc/config/linux/x86_64/entrypoints.txt) for at least x86_64 and whatever you're building on
- [ ] Add `utims` to [`include/sys/time.yaml`](https://github.com/llvm/llvm-project/blob/main/libc/include/sys/time.yaml)
Comment if you're interested in working on this, and feel free to reach out if you need help.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysVE1v6zYQ_DXUZRGBXlmyddDBL4bQHgr0HxQUuZL4QpEGP5L43xekkqbp6wNSoBfawpCcndnliBD0YokG1n5j7bUSKa7OD5uWqyDjvz8szi2Gqsmp-3ClIL2eSIG28LsL-pU1F1hjvAXWXBiODMdbmkLtbmQX79Ktdn5hODprtKUMMRz7U9_3h7wyHOdkZdTOhvI_6o1sqNe4GcYvjF9-IU8MTwEEyJXkk9Ehwuw8vKwiwt0lhidjwBIpiA6UK2BcdSmIXx6Atd-AtVe4KAVxJdDbzdBGNopMC24G1vFCHFjHszDWcYZj8DKv91xYRjPI8Hx3CV703yilJxGpUILSnmR0_s6wr39kpxBDqe_fGTP-BWJhgvsSO8AH_2_iiSAkT8WDzASrCCAiGBIhgrMEUgSCl5XeNr13BkKSkkgFEFZ97cQstAk_GvBJdnQZYx0nG_395rSNoY6vMXvRXhmeP4_VouOaplq6jeFozPP7z8PNu-8ks3GTcRPDcRPaZlBP2Ufp7KyX8m3TK8Px9dz90R0Zjv_kxb705i-B-8YiOg8bPZN_GzhPMCVtlLYLOPszmZ9VaitNUvSps_VdbOZ_1vtzHuz3J_Xotjz-oOcPOdpG8hTi_rJfnH_ate0vCR-LCzORgdkTZVWehFzBpfd79olcydxqqNTQqL7pRUXD4XRs2ob3h6ZaB9U3k5Knbp5bOhKqvlPdeVbtPNOk-Lmr9IAcW37kh8OZn5umnhGpR961pLhsTwd25LQJbersRQ6XSoeQaDg0Td82lRETmVCyDHFxTsGsfYhQNjFEho8McbcKc9z5oZg6pSWwI8_pEj6ujjqaEozlQHuFX9-zA_Y5rpI3w3_uWykm9-at6OcB_wwAAP__PNHLPw">