mirror of
https://github.com/systemd/systemd.git
synced 2026-07-12 10:34:12 +00:00
These combine strndup() + strspn()/strcspn() into one. There are a bunch of strndupa() calls that could use similar treatment (or should be converted to strdup[c]spn(), but this commit doesn't bother with that.