summaryrefslogtreecommitdiff
path: root/external/gpl3/binutils/dist/bfd/doc/init.texi
blob: 68352db13c4b6f16d1d4981b3e3ad433336278c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@section Initialization


@subsection Initialization functions
These are the functions that handle initializing a BFD.

@findex bfd_init
@subsubsection @code{bfd_init}
@strong{Synopsis}
@example
unsigned int bfd_init (void);
@end example
@strong{Description}@*
This routine must be called before any other BFD function to
initialize magical internal data structures.
Returns a magic number, which may be used to check
that the bfd library is configured as expected by users.
@example

/* Value returned by bfd_init.  */

#define BFD_INIT_MAGIC (sizeof (struct bfd_section))
@end example