summaryrefslogtreecommitdiff
path: root/libgcompat/execinfo.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-14 22:09:08 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-15 00:02:54 -0600
commit810f46ab1cc801e54fc3836c22b5f1364cd632e6 (patch)
tree50a496ceecfec1585ce332685e7491313dd022b3 /libgcompat/execinfo.c
parent18ce7cc13e00f98e214c211b55669e8dd4b3268c (diff)
downloadgcompat-810f46ab1cc801e54fc3836c22b5f1364cd632e6.tar.gz
gcompat-810f46ab1cc801e54fc3836c22b5f1364cd632e6.tar.bz2
gcompat-810f46ab1cc801e54fc3836c22b5f1364cd632e6.tar.xz
gcompat-810f46ab1cc801e54fc3836c22b5f1364cd632e6.zip
pwd: Fully implement fgetpwent_r/getpwent_r
These functions require a deep copy of the structure into the caller-provided buffer. Also make sure to store NULL in result on error. Use the stream to differentiate the two functions and avoid duplication. Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'libgcompat/execinfo.c')
0 files changed, 0 insertions, 0 deletions