diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-03 01:58:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 01:58:58 +0000 |
commit | fe0aa236cf96969b5d80c5c6504601c6e746edcf (patch) | |
tree | 999e08d6469a0f9bcdce421eeb4c02c617df858e /CHANGELOG.md | |
parent | 2c2440521acb5942a5f937b8d3126577cf91106a (diff) | |
parent | 91effece134079bebd07869089ec36b1efbdc06a (diff) | |
download | nix-fe0aa236cf96969b5d80c5c6504601c6e746edcf.zip |
Merge #1281
1281: Added clock_gettime, clock_getres, clock_settime, clock_getcpuclockid r=asomers a=xonatius
Picked up #1100 and added `clock_getcpuclockid` call as well. Credits to @kevinwern for the initial version.
https://www.man7.org/linux/man-pages/man2/clock_gettime.2.html
https://www.man7.org/linux/man-pages/man3/clock_getcpuclockid.3.html
Closes #1275
Co-authored-by: Daniil Bondarev <xonatius@gmail.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 061d1b9f..5c208d74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Added - Added Netlink protocol families to the `SockProtocol` enum (#[1289](https://github.com/nix-rust/nix/pull/1289)) +- Added `clock_gettime`, `clock_settime`, `clock_getres`, + `clock_getcpuclockid` functions and `ClockId` struct. + (#[1281](https://github.com/nix-rust/nix/pull/1281)) ### Changed - Expose `SeekData` and `SeekHole` on all Linux targets (#[1284](https://github.com/nix-rust/nix/pull/1284)) |