options/glibc: Stub getspnam

Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
This commit is contained in:
Dennis Bonke 2021-01-29 20:18:29 +01:00
parent 12270301ff
commit d0c204c67f
No known key found for this signature in database
GPG key ID: F456F05FBF825330
2 changed files with 6 additions and 0 deletions

View file

@ -29,3 +29,8 @@ int ulckpwdf(void) {
mlibc::infoLogger() << "mlibc: ulckpwdf is unimplemented like musl" << frg::endlog;
return 0;
}
struct spwd *getspnam(const char *) {
__ensure(!"Not implemented");
__builtin_unreachable();
}

View file

@ -26,6 +26,7 @@ struct spwd {
int putspent(const struct spwd *, FILE *);
int lckpwdf(void);
int ulckpwdf(void);
struct spwd *getspnam(const char *);
#ifdef __cplusplus
}