1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00
Lennart Poettering c10d6bdb89 macro: introduce new TAKE_FD() macro
This is similar to TAKE_PTR() but operates on file descriptors, and thus
assigns -1 to the fd parameter after returning it.

Removes 60 lines from our codebase. Pretty good too I think.
2018-03-22 20:30:40 +01:00
..
2018-03-22 20:21:42 +01:00
2018-03-19 21:04:02 +09:00
2018-03-22 20:30:40 +01:00
2018-03-19 21:04:02 +09:00
2018-03-19 21:03:35 +09:00
2018-01-11 14:44:31 +01:00
2018-03-22 20:21:42 +01:00
2018-03-22 20:21:42 +01:00
2018-03-22 20:21:42 +01:00
2018-03-22 20:21:42 +01:00
2018-03-22 20:21:42 +01:00
2018-01-11 15:12:16 +01:00
2018-03-22 20:21:42 +01:00
2018-01-11 14:44:31 +01:00
2018-03-22 20:21:42 +01:00