Skip to content

Commit

Permalink
Auto merge of #2854 - pabigot:pabigot/20220729a, r=JohnTitor
Browse files Browse the repository at this point in the history
linux: add TFD_TIMER_CANCEL_ON_SET constant

This constant was added in Linux v3.0 and glibc 2.26.
  • Loading branch information
bors committed Jul 29, 2022
2 parents d90fcbf + f4f0cdb commit 4bfd852
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 4bfd852

Please sign in to comment.