keep_stream = 0;
if (status == NSS_STATUS_SUCCESS && fgetpos (stream, &position) < 0) { fclose (stream); stream = NULL; status = NSS_STATUS_UNAVAIL; } }  if (status == NSS_STATUS_SUCCESS) {  if (last_use != getent) { if (fsetpos (stream, &position) < 0) status = NSS_STATUS_UNAVAIL; else last_use = getent; }  if (status == NSS_STATUS_SUCCESS) { status = internal_getent (result, buffer, buflen, errnop H_ERRNO_ARG);   if (status == NSS_STATUS_SUCCESS) fgetpos (stream, &position); else  last_use = none; } }
CONCAT(_nss_files_end,ENTNAME) (void){  __libc_lock_lock (lock);  internal_endent ();  /* Reset STAYOPEN flag.  */  keep_stream = 0;  __libc_lock_unlock (lock);  return NSS_STATUS_SUCCESS;}