|
|
1.1 root 1:
2:
3: structure assignment Technical Information structure assignment
4:
5:
6:
7:
8: _T_h_e _C _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e, ed. 2 forbids structure assignment,
9: the passing of structures to functions, and returning structures
10: from functions (as opposed to the passing or returning of
11: _p_o_i_n_t_e_r_s to structures). The COHERENT C compiler lifts these
12: restrictions.
13:
14: Some C compilers transform structure arguments and structure
15: returns into structure pointers. Note that the use of structure
16: assignment, structure arguments, or structure returns may create
17: problems when porting the code to another C compiler.
18:
19: ***** See Also *****
20:
21: portability, struct, structure, technical information
22:
23: ***** Notes *****
24:
25: Because this feature deviates from the description of the C lan-
26: guage found in the first edition of _T_h_e _C _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e,
27: compiling with the -VSBOOK option will flag all points where it
28: occurs in your program.
29:
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.