Commit Graph

11 Commits

Author SHA1 Message Date
Jōshin
8ce0600e00 Simplify by using stdio
Their read loop is probably better anyway. This also sets CLOEXEC on the
opened file, since who knows.

We can do this in the getrandom case since on small reads (len <= 256),
getrandom doesn't fail with EINTR.
2019-01-02 14:37:56 -08:00
Jōshin
ce933a6c5c Simplify
- The header is now less brittle, and is the same thing everywhere.

- Lots of stuff is cleaned up and simpler.

- Changed copyright year.
2019-01-02 10:07:03 -08:00
Jōshin
ae716220e2 Remove pkg_mod stuff 2018-12-27 12:31:36 -08:00
Jōshin
6d2e6b168f Rejigger the meson file 2018-12-27 12:27:02 -08:00
Jōshin
ff8fa84e28 Remove pedantic arg 2018-12-27 11:55:40 -08:00
Jōshin
59102acc59 Rename dep 2018-12-27 11:53:34 -08:00
Jōshin
4d89cad020 Add a sample program 2018-12-27 19:19:59 +00:00
Jōshin
f1b44b42a9 Get it working 2018-12-27 10:56:10 -08:00
Jōshin
8ef34bea65 blargh fighting with meson 2018-12-27 10:27:28 -08:00
Jōshin
7a7e7b30f8 Simpler implementation 2018-12-26 22:06:40 -08:00
Jōshin
aa7e4cce8e Initial 2018-12-25 19:44:59 -08:00