Skip to content

Commit

Permalink
linux: add TFD_TIMER_CANCEL_ON_SET constant
Browse files Browse the repository at this point in the history
This constant was added in Linux v3.0 and glibc 2.26.
  • Loading branch information
pabigot committed Jul 29, 2022
1 parent f143f2b commit f4f0cdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/linux.txt
Expand Up @@ -2452,6 +2452,7 @@ TCXONC
TFD_CLOEXEC
TFD_NONBLOCK
TFD_TIMER_ABSTIME
TFD_TIMER_CANCEL_ON_SET
THOUSEP
TIMER_ABSTIME
TIOCCONS
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/mod.rs
Expand Up @@ -1811,6 +1811,7 @@ pub const ITIMER_PROF: ::c_int = 2;
pub const TFD_CLOEXEC: ::c_int = O_CLOEXEC;
pub const TFD_NONBLOCK: ::c_int = O_NONBLOCK;
pub const TFD_TIMER_ABSTIME: ::c_int = 1;
pub const TFD_TIMER_CANCEL_ON_SET: ::c_int = 2;

pub const _POSIX_VDISABLE: ::cc_t = 0;

Expand Down

0 comments on commit f4f0cdb

Please sign in to comment.