ECMA 158-1997 Portable Common Tool Environment (PCTE) - C Programming Language Binding《可移植通用工具环境(PCTE) C程序设计语言绑定 第4版》.pdf
《ECMA 158-1997 Portable Common Tool Environment (PCTE) - C Programming Language Binding《可移植通用工具环境(PCTE) C程序设计语言绑定 第4版》.pdf》由会员分享,可在线阅读,更多相关《ECMA 158-1997 Portable Common Tool Environment (PCTE) - C Programming Language Binding《可移植通用工具环境(PCTE) C程序设计语言绑定 第4版》.pdf(156页珍藏版)》请在麦多课文档分享上搜索。
1、Standard ECMA-1584th Edition - December 1997Standardizing Information and Communication SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http:/www.ecma.ch - Internet: helpdeskecma.chPortable Common ToolEnvironment (PCTE) -C Programming LanguageBinding.Standard ECMA-1584th Edition - Dece
2、mber 1997Standardizing Information and Communication SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http:/www.ecma.ch - Internet: helpdeskecma.chIW ECMA-158.DOC 22-02-99 16,01Portable Common ToolEnvironment (PCTE) -C Programming LanguageBinding.Brief History(1) PCTE, Portable Common T
3、ool Environment, is an interface standard. The interface is designed tosupport program portability by providing machine-independent access to a set of facilities. Thesefacilities, which are described in the PCTE Abstract Specification (Standard ECMA-149), aredesigned particularly to provide an infra
4、structure for programs which may be part of environmentssupporting systems engineering projects. Such programs, which are used as aids to systemsdevelopment, are often referred to as tools.(2) PCTE has its origin in the European Strategic Programme for Research and Development inInformation Technolo
5、gy (ESPRIT) project 32, called “A Basis for a Portable Common ToolEnvironment“. That project produced a specification for a tool interface, an initialimplementation, and some tools on that implementation. The interface specifications wereproduced in the C Language. A number of versions of the specif
6、ications were produced,culminating in the fourth edition known as “PCTE Version 1.4“. That was in two volumes;volume 2 covered the user interface and volume 1 covered everything else. Subsequently, theCommission of the European Communities (CEC) commissioned Ada versions of the two volumesof the PCT
7、E specification. Since 1988, a technical committee of ECMA, TC33, has continued thedevelopment of PCTE, in a form suitable for standardization under ECMA rules. This work wasundertaken by Task Group TGEP (later renamed TGOO) of ECMA TC33, which was formed inNovember 1988.(3) The work on the C Langua
8、ge Binding for ECMA PCTE was started in early 1990, as the AbstractSpecification became stable. The C Language Binding was the first binding of ECMA PCTE to bedeveloped, though the strategy for it was developed in parallel with that for the Ada LanguageBinding. The text of this binding reflects the
9、desire for the C and Ada Language Bindings to be ascompatible as possible.(4) Following acceptance of the first edition as an ECMA Standard in June 1991, review byinternational experts led to the production of second edition taking into account review commentsrelating to this standard and also maint
10、aining consistency with the second edition of StandardECMA-149. The second edition was accepted by the General Assembly of June 1993, and wassubmitted as part 2 of the draft PCTE standard to ISO/IEC JTC1 for fast-track processing tointernational standardization.(5) During the fast-track processing,
11、which was successfully completed in September 1994, commentsfrom National Bodies resulted in a number of changes to the draft standard. Some further editorialchanges were requested by JTC1 ITTF. All these were incorporated in the published internationalstandard, ISO/IEC 13719-2, with which the third
12、 edition of this ECMA standard was aligned.(6) This fourth edition incorporates the resolutions of all comments received too late for considerationduring the fast-track processing, or after, and the contents of Standards ECMA-228 (Extensions forSupport of Fine-Grain Objects) and ECMA-256 (Object Ori
13、entation Extensions). It is alignedwith the second edition of ISO/IEC 13719-2.Adopted as 4th Edition of Standard ECMA-158 by the General Assembly of December 1997.- i -Contents1 Scope 12 Conformance 13 Normative references 14 Definitions 25 Formal notations 26 Outline of the Standard 27 Binding stra
14、tegy 27.1 C programming language standard 27.2 General principles 27.3 Sets and sequences 37.4 Character strings 37.5 Memory allocation 37.6 References and names 47.7 Operation return values 47.8 Error conditions 57.9 Identifiers 57.10 Implementation limits 58 Datatype mapping 58.1 Mapping of PCTE d
15、atatypes to LI datatypes 58.1.1 Mapping of predefined PCTE datatypes 68.1.2 Mapping of private PCTE datatypes 78.1.3 Mapping of complex PCTE datatypes 78.1.4 New LI datatype generators 88.2 Mapping of LI datatypes to C datatypes 88.2.1 LI datatype boolean 88.2.2 LI datatype pcte-integer 98.2.3 LI da
16、tatype pcte-natural 108.2.4 LI datatype pcte-float 108.2.5 LI datatype pcte-time 118.2.6 LI datatype pcte-text 128.2.7 LI datatype octet 138.2.8 LI enumerated datatype pcte-xxx 138.2.9 LI private datatypes 148.2.10 LI datatype generator pcte-sequence 148.2.11 LI datatype pcte-string 158.2.12 LI data
17、type generator bounded-set 17- ii -8.2.13 LI datatype generator choice 188.2.14 LI datatype record 198.3 Private datatypes 208.4 References and names 218.5 C private type Pcte_sequence 218.5.1 Operations on sequences 258.5.2 Error conditions for sequence operators 288.6 Deriving C function semantics
18、 from the abstract specification 288.7 Headers 298.7.1 The global PCTE header 298.7.2 The PCTE basic type header 308.7.3 The PCTE sequence header 319 Object management 349.1 Object management datatypes 349.2 Link operations 369.3 Object operations 409.4 Version operations 4610 Schema management 4810
19、.1 Schema management datatypes 4810.2 Update operations 5010.3 Usage operations 5610.4 Working schema operations 5911 Volumes, devices, and archives 6211.1 Volume, device, and archive datatypes 6211.2 Volume, device, and archive operations 6311.3 Clusters 6512 Files, pipes, and devices 6612.1 File,
20、pipe, and device datatypes 6612.2 File, pipe, and device operations 6713 Process execution 6913.1 Process execution datatypes 7013.2 Process execution operations 7013.3 Security operations 7313.4 Profiling operations 7513.5 Monitoring operations 7514 Message queues 7614.1 Message queue datatypes 76-
21、 iii -14.2 Message queue operations 7715 Notification 7915.1 Notification datatypes 8015.2 Notification operations 8016 Concurrency and integrity control 8016.1 Concurrency and integrity control datatypes 8116.2 Concurrency and integrity control operations 8117 Replication 8217.1 Replication datatyp
22、es 8217.2 Replication operations 8218 Network connection 8418.1 Network connection datatypes 8418.2 Network connection operations 8518.3 Foreign system operations 8618.4 Time operations 8619 Discretionary security 8719.1 Discretionary security datatypes 8719.2 Discretionary access control operations
23、 8919.3 Discretionary security administration operations 8920 Mandatory security 9120.1 Mandatory security datatypes 9120.2 Mandatory security operations 9120.3 Mandatory security administration operations 9220.4 Mandatory security operations for processes 9421 Auditing 9421.1 Auditing datatypes 952
24、1.2 Auditing operations 9822 Accounting 10022.1 Accounting datatypes 10022.2 Accounting administration operations 10222.3 Consumer identity operations 10323 References 10323.1 Reference datatypes 10423.2 Object reference operations 105- iv -23.3 Link reference operations 10623.4 Type reference opera
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ECMA1581997PORTABLECOMMONTOOLENVIRONMENTPCTECPROGRAMMINGLANGUAGEBINDING 移植 通用 工具 环境 PCTEC 程序设计语言 绑定 PDF

链接地址:http://www.mydoc123.com/p-704633.html