diff options
author | 2000-11-21 00:49:58 +0000 | |
---|---|---|
committer | 2000-11-21 00:49:58 +0000 | |
commit | 9a234f2d418ae148212ed18a23b5178849a39a1d (patch) | |
tree | c734982f90fb67b397b641ed6c9d3277c40dfa0a /lib/libc/db | |
parent | Missed this in the strnvis(3) commit. (diff) | |
download | wireguard-openbsd-9a234f2d418ae148212ed18a23b5178849a39a1d.tar.xz wireguard-openbsd-9a234f2d418ae148212ed18a23b5178849a39a1d.zip |
Add pw_dup(3), a function to copy 'struct passwd'. It is allocated as
a single chunk with the strings pointing elsewhere in the buffer so
a simple free() of the struct passwd * is all that is needed to decallocate.
Diffstat (limited to 'lib/libc/db')
0 files changed, 0 insertions, 0 deletions