[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
bfd_fopen
bfd *bfd_fopen (const char *filename, const char *target, const char *mode, int fd); |
fdopen
is used to open the file; otherwise, fopen
is used. mode is passed directly to fopen
or
fdopen
.
Calls bfd_find_target
, so target is interpreted as by
that function.
The new BFD is marked as cacheable iff fd is -1.
If NULL
is returned then an error has occured. Possible errors
are bfd_error_no_memory
, bfd_error_invalid_target
or
system_call
error.