am 00ba42b9: am 7355d29b: Merge "Make getgrent deprecated."
* commit '00ba42b9f509baa706c93f648c8ad7c84c89d6d0': Make getgrent deprecated.
This commit is contained in:
commit
8a66147268
@ -54,9 +54,9 @@ __BEGIN_DECLS
|
|||||||
struct group *getgrgid(gid_t);
|
struct group *getgrgid(gid_t);
|
||||||
struct group *getgrnam(const char *);
|
struct group *getgrnam(const char *);
|
||||||
#if __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE
|
#if __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE
|
||||||
struct group *getgrent(void) __errorattr("getgrent is meaningless on Android");
|
struct group *getgrent(void) __attribute__((deprecated("getgrent is meaningless on Android")));
|
||||||
__errordecl(setgrent, "setgrent is meaningless on Android");
|
void setgrent(void) __attribute__((deprecated("setgrent is meaningless on Android")));
|
||||||
__errordecl(endgrent, "endgrent is meaningless on Android");
|
void endgrent(void) __attribute__((deprecated("endgrent is meaningless on Android")));
|
||||||
int getgrgid_r(gid_t, struct group *, char *,
|
int getgrgid_r(gid_t, struct group *, char *,
|
||||||
size_t, struct group **);
|
size_t, struct group **);
|
||||||
int getgrnam_r(const char *, struct group *, char *,
|
int getgrnam_r(const char *, struct group *, char *,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user