Files
systemd/src/basic
Lennart Poettering ef470ffa23 macro: add new helper RET_NERRNO()
This new helper converts libc style syscall return values into
systemd-kernel (actually: kernel style) negative errno values.

It's implemented as macro-like inline function, and propagates return
values >= 0 as themselves and returns -errno for negative error returns.

THis is supposed to be little more than syntactic sugar so that we can
reduce a lot of (short, but still) boilerplate code whever we convert
libc style error handling into our own.

As discussed here:

https://github.com/systemd/systemd/pull/21326#discussion_r748413537
2021-11-16 08:04:09 +01:00
..
2021-09-29 15:33:50 +09:00
2021-10-20 22:20:18 +09:00
2021-10-20 22:20:18 +09:00
2021-10-06 10:52:10 +02:00
2021-10-06 10:52:10 +02:00
2021-05-17 22:27:41 +01:00
2021-05-17 22:27:41 +01:00
2021-05-17 22:27:41 +01:00
2021-05-17 22:27:41 +01:00
2021-06-30 23:33:00 +09:00
2021-10-08 13:11:00 +01:00
2021-10-20 22:20:18 +09:00
2021-03-31 21:43:45 +02:00
2021-09-28 15:15:12 +09:00
2021-09-28 15:15:12 +09:00
2021-08-10 17:08:00 +02:00
2021-04-08 13:00:50 +02:00
2021-02-16 17:15:11 +01:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:32 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-06-15 19:07:11 +09:00
2021-03-01 13:40:52 +01:00
2021-07-09 11:11:25 +02:00
2021-04-30 09:31:34 -07:00