grp The storage area to hold the retrieved group structure. buffer A pointer to a temporary buffer that the function can use during the operation to store the longest group entry in the database. bufsize The length of the temporary buffer (in characters). result A pointer to the retrieved group structure.