|
|
1.1 root 1:
2:
3: etext Linker-Defined Symbol etext
4:
5:
6:
7: extern int etext[];
8:
9: etext is the location after the shared and private text (code)
10: segments. It is defined by the linker when it binds the program
11: together for execution. The value of etext is merely an address.
12: The location to which it points contains no known value, and may
13: be illegal memory locations for the program. The value of etext
14: does not change while the program is running.
15:
16: ***** Example *****
17:
18:
19:
20: main()
21: {
22: extern int etext[];
23: printf("etext=%ld\n", (long) etext);
24: }
25:
26:
27: ***** See Also *****
28:
29: brk(), end, ld, linker-defined symbols, malloc()
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.