blob: d55763e7f6761d053bdbe17baa7daedcfe17c04d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* static int
* wrap_getpwent_r(struct passwd *pwbuf, char *buf, size_t buflen, struct passwd **pwbufp) {
* int rc = -1;
*/
/* note that we don't wrap fgetpwent_r, since there's no path
* references in it.
*/
if (!pseudo_pwd) {
errno = ENOENT;
return -1;
}
return fgetpwent_r(pseudo_pwd, pwbuf, buf, buflen, pwbufp);
/* return rc;
* }
*/
|