COHERENT manpages

This page displays the COHERENT manpage for structure assignment [Definition].

List of available manpages
Index


structure assignment -- Definition

The C  Programming Language,  second edition forbids  structure assignment,
the  passing of  structures  to functions,  and  returning structures  from
functions  (as  opposed  to   the  passing  or  returning  of  pointers  to
structures).  The COHERENT C compiler lifts these restrictions.

Some C  compilers transform structure arguments  and structure returns into
structure pointers.   Note that the use  of structure assignment, structure
arguments, or  structure returns may create problems  when porting the code
to another C compiler.

See Also

portability,
Programming COHERENT,
struct,
structure

Notes

Because this feature deviates from  the description of the C language found
in the  first edition of  The C Programming  Language compiling with  the -
VSBOOK option will flag all points where it occurs in your program.