Update pwcache(3) support files from NetBSD
authorFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 4 Apr 2018 17:37:42 +0000 (19:37 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 4 Apr 2018 17:38:04 +0000 (19:38 +0200)
commit2b478a479544de58d2da19f60b0f4c79a8694295
tree2f9898871c0d977f234651f2a9ac3b4bdb76680f
parent27979cb9b40eee85e133969df4b9e69b118e08fd
Update pwcache(3) support files from NetBSD

* Bringing the API up-to-date with NetBSD and FreeBSD

* This effectively adds the uid_from_user() and gid_from_group()
  functions, the reverse of user_from_uid() and groups_from_gid()

* (void) casts for discarded return values have been removed
lib/libc/gen/pwcache.3
lib/libc/gen/pwcache.c
lib/libc/gen/pwcache.h [new file with mode: 0644]