Skip to content

[libc] Implement utimes #133953

@michaelrj-google

Description

@michaelrj-google

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 for at least x86_64 and whatever you're building on
  • Add utims to include/sys/time.yaml

Comment if you're interested in working on this, and feel free to reach out if you need help.

Metadata

Metadata

Assignees

Labels

good first issuehttps://github.com/llvm/llvm-project/contributelibc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions