funlockfile (stream);
__fgetspent_r (FILE *stream, struct spwd *resbuf, char *buffer, size_t buflen,	       struct spwd **result){  char *p;  do    {      buffer[buflen - 1] = '\xff';      p = fgets (buffer, buflen, stream);      if (p == NULL && feof (stream))	{	  *result = NULL;	  return errno;	}      if (p == NULL || buffer[buflen - 1] != '\xff')	{	  *result = NULL;	  return errno = ERANGE;	}      /* 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_line (buffer, (void *) resbuf, NULL, 0, &errno));  *result = resbuf;  return 0;}