Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /
Chapter 9 - CFM-68K Application and Shared Library Structure / CFM-68K Application Structure


The 'rseg' 0 Resource

The 'rseg'0 resource is the resource loaded and retained by the Code Fragment Manager and is the fragment referenced from the 'cfrg'0 resource. Since the Code Fragment Manager does not release an "active" fragment, the 'rseg'0 resource does not contain the executable fragment, but only a small data structure. This structure specifies the location of the actual executable fragment as well as some additional information about the fragment. The actual executable fragment is stored in the 'rseg'1 resource, which can be released after the application launch procedures are completed. The 'rseg'0 resource contains a copy of the PEF container header from the 'rseg'1 resource along with other information, as shown in Figure 9-5. For more information about PEF headers, see "The Container Header," beginning on page 8-4.

Figure 9-5 The 'rseg'0 resource


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997