Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/include/grp_.h


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/include/grp_.h

    r2725 r3232  
    3030 * so that function calls are directed to bb_internal_XXX replacements
    3131 */
    32 
     32#undef endgrent
    3333#define setgrent     bb_internal_setgrent
    3434#define endgrent     bb_internal_endgrent
     
    6565/* Write the given entry onto the given stream.  */
    6666extern int putgrent(const struct group *__restrict __p,
    67              FILE *__restrict __f);
     67        FILE *__restrict __f);
    6868#endif
    6969
     
    8383
    8484extern int getgrent_r(struct group *__restrict __resultbuf,
    85                char *__restrict __buffer, size_t __buflen,
    86                struct group **__restrict __result);
     85        char *__restrict __buffer, size_t __buflen,
     86        struct group **__restrict __result);
    8787
    8888/* Search for an entry with a matching group ID.  */
    8989extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf,
    90                char *__restrict __buffer, size_t __buflen,
    91                struct group **__restrict __result);
     90        char *__restrict __buffer, size_t __buflen,
     91        struct group **__restrict __result);
    9292
    9393/* Search for an entry with a matching group name.  */
    9494extern int getgrnam_r(const char *__restrict __name,
    95                struct group *__restrict __resultbuf,
    96                char *__restrict __buffer, size_t __buflen,
    97                struct group **__restrict __result);
     95        struct group *__restrict __resultbuf,
     96        char *__restrict __buffer, size_t __buflen,
     97        struct group **__restrict __result);
    9898
    9999/* Read a group entry from STREAM.  This function is not standardized
    100100   an probably never will.  */
    101101extern int fgetgrent_r(FILE *__restrict __stream,
    102             struct group *__restrict __resultbuf,
    103             char *__restrict __buffer, size_t __buflen,
    104             struct group **__restrict __result);
     102        struct group *__restrict __resultbuf,
     103        char *__restrict __buffer, size_t __buflen,
     104        struct group **__restrict __result);
    105105
    106106/* Store at most *NGROUPS members of the group set for USER into
     
    108108   returned in *NGROUPS.  Return -1 if the if *NGROUPS is too small.  */
    109109extern int getgrouplist(const char *__user, gid_t __group,
    110              gid_t *__groups, int *__ngroups);
     110        gid_t *__groups, int *__ngroups);
    111111
    112112/* Initialize the group set for the current user
Note: See TracChangeset for help on using the changeset viewer.