Change getgrent error declaration message to proper style.
Bug: 19340053 Change-Id: I9c47a2016f356d171a5f2082acb8391d81e019b2
This commit is contained in:
parent
fb48c68221
commit
62533de98e
@ -54,9 +54,9 @@ __BEGIN_DECLS
|
||||
struct group *getgrgid(gid_t);
|
||||
struct group *getgrnam(const char *);
|
||||
#if __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE
|
||||
struct group *getgrent(void) __errorattr("This function is meaningless on Android.");
|
||||
__errordecl(setgrent, "This function is meaningless on Android.");
|
||||
__errordecl(endgrent, "This function is meaningless on Android.");
|
||||
struct group *getgrent(void) __errorattr("getgrent is meaningless on Android");
|
||||
__errordecl(setgrent, "setgrent is meaningless on Android");
|
||||
__errordecl(endgrent, "endgrent is meaningless on Android");
|
||||
int getgrgid_r(gid_t, struct group *, char *,
|
||||
size_t, struct group **);
|
||||
int getgrnam_r(const char *, struct group *, char *,
|
||||
|
Loading…
Reference in New Issue
Block a user