UUID library for C?
问题 I'm looking for a UUID library for programming in C, that has a reasonable probability of being installed (or at least installable by package manager) on most modern Linux desktops, and works with pkg-config . The following two possibilities seem most obvious: OSSP UUID Libuuid from e2fsprogs Does anybody have experience with these two and can recommend one over the other, or a third possiblity? 回答1: I used both, and I definitely prefer the util-linux-ng (formerly in e2fsprogs) one. For