TOPIC This article discusses the sizes of the fundamental C data types under the Mach operating system. DISCUSSION
Q: How many bytes of storage do the various fundamental data types require under OPENSTEP for Mach? What are the maximum and minimum values for the various arithmetic data types?
If you happen to forget any of the sizes, you can quickly remind yourself by running gdb and typing: print sizeof(type) The minimum and maximum values are defined as constants in <limits.h> and <float.h> . The NeXTSTEP mach implementation used the same values. |
Document Information | |
Product Area: | Apple Software |
Category: | NeXTSTEP; OPENSTEP |
Sub Category: | Development |
Copyright © 2000 Apple Computer, Inc. All rights reserved.