| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | |
| 3 * Use of this source code is governed by a BSD-style license that can | |
| 4 * be found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 | |
| 8 /* | |
| 9 * Stub routine for `gepwnam_r' for porting support. | |
| 10 */ | |
| 11 | |
| 12 #include <sys/types.h> | |
| 13 #include <pwd.h> | |
| 14 #include <errno.h> | |
| 15 | |
| 16 int getpwnam_r(const char *name, struct passwd * pwbuf, | |
| 17 char *buf, size_t buflen, struct passwd **pwbufp) { | |
| 18 return ENOSYS; | |
| 19 } | |
| 20 | |
| 21 #include "native_client/src/untrusted/nosys/warning.h" | |
| 22 stub_warning(getpwnam_r); | |
| OLD | NEW |