diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-14 22:09:08 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2018-01-15 00:02:54 -0600 |
commit | 810f46ab1cc801e54fc3836c22b5f1364cd632e6 (patch) | |
tree | 50a496ceecfec1585ce332685e7491313dd022b3 /Makefile | |
parent | 18ce7cc13e00f98e214c211b55669e8dd4b3268c (diff) | |
download | gcompat-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 'Makefile')
0 files changed, 0 insertions, 0 deletions