rust-lang / rust-lang/libc

timerfd API on android (aarch64-linux-android && arm-linux-androideabi)

Open
#1,589 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-API-request E-easy O-android
Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
69

Description

timerfd APIs are only available as SYS_* calls
As Android is linux, these should be available too.

Should they be added?

List of APIs:

  • timerfd_create
  • timerfd_settime
  • timerfd_gettime

That's and various definitions like TFD_NONBLOCK

Reference http://man7.org/linux/man-pages/man2/timerfd_create.2.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing SYS_* timerfd bindings for the aarch64-linux-android and arm-linux-androideabi targets, then compare their availability with the timerfd_create, timerfd_settime, and timerfd_gettime reference. Done means those APIs and definitions such as TFD_NONBLOCK are exposed for both Android targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.