see [here](http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/util.c#n3515)