Files
systemd/src/basic
Lennart Poettering 41979f59d3 fs-util: make laccess() macro follow our usual error propagation
Functions defined by us are supposed to return negative errno-style
errors on errors. laccess() is for access() what lstat() is for stat(),
but defined by us as a macro. This led to some confusion regarding error
handling.

Let's return a negative errno code just in case. This means callers can
it use either way: like access(), i.e. checking for a negative return
value + looking at errno, or like our own code, i.e. using the negative
errno code it returns.
2021-01-15 19:14:10 +00:00
..
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-01-15 10:33:29 +01:00
2020-11-25 09:48:17 +01:00
…
2020-11-18 11:15:05 +01:00
2020-11-09 13:23:58 +09:00
2020-11-12 14:35:06 +01:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2020-12-14 17:56:01 +01:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-01-11 21:10:55 +01:00
2020-11-09 13:23:58 +09:00