long nwrote = fwrite (ptr, 1, (size_t) (size * nitems), bfd_cache_lookup (abfd)); #ifdef FILE_OFFSET_IS_CHAR_INDEX
long nwrote;  if ((abfd->flags & BFD_IN_MEMORY) != 0) abort ();  nwrote = fwrite (ptr, 1, (size_t) (size * nitems), bfd_cache_lookup (abfd));
bfd_write (ptr, size, nitems, abfd)     CONST PTR ptr;     bfd_size_type size;     bfd_size_type nitems;     bfd *abfd;{  long nwrote = fwrite (ptr, 1, (size_t) (size * nitems),			bfd_cache_lookup (abfd));#ifdef FILE_OFFSET_IS_CHAR_INDEX  if (nwrote > 0)    abfd->where += nwrote;#endif  if ((bfd_size_type) nwrote != size * nitems)    {#ifdef ENOSPC      if (nwrote >= 0)	errno = ENOSPC;#endif      bfd_set_error (bfd_error_system_call);    }  return nwrote;}