} if (p == NULL || buffer[buflen] != '\xff') { *result = NULL; return errno = ERANGE;
__fgetgrent_r (FILE *stream, struct group *resbuf, char *buffer, size_t buflen,	       struct group **result){  char *p;  int parse_result;  do    {      p = fgets (buffer, buflen, stream);      if (p == NULL)	{	  *result = NULL;	  return errno;	}      /* Skip leading blanks.  */      while (isspace (*p))	++p;    } while (*p == '\0' || *p == '#'	/* Ignore empty and comment lines.  */	     /* Parse the line.  If it is invalid, loop to		get the next line of the file to parse.  */	     || ! (parse_result = parse_line (p, resbuf,					      (void *) buffer, buflen,					      __errno_location ())));  if (parse_result == -1)    {      /* The parser ran out of space.  */      *result = NULL;      return errno;    }  *result = resbuf;  return 0;}