ANSI INCITS ISO IEC 14366-1996 Information technology - Test methods for measuring conformance to Open Systems Interconnection (OSI) abstract data manipulation C language interfaceP.pdf
《ANSI INCITS ISO IEC 14366-1996 Information technology - Test methods for measuring conformance to Open Systems Interconnection (OSI) abstract data manipulation C language interfaceP.pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS ISO IEC 14366-1996 Information technology - Test methods for measuring conformance to Open Systems Interconnection (OSI) abstract data manipulation C language interfaceP.pdf(70页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD ISO/IEC 14366 First edition 1996-06-01 Information technology - Test methods for measuring conformance to Open Systems Interconnection (03) abstract data manipulation C language interfaces - Binding for Application Program Interface (API) Technologies de /information - MBthode
2、s dessaipour mesurer la conformit aux interfaces de langage C pour la manipulation de don FAX: +1202 728-9614. Introduction vii INTERNATIONAL STANDARD OISO/IEC ISO/IEC 14366:1996(E) 1 Information technology-Test methods for 2 measuring conformance to Open Systems 3 Interconnection (OSI) abstract dat
3、a 4 manipulation C language 5 interfaces-Binding for Application Program 6 Interface (API) 7 8 9 This International Standard defines requirements for test methods for measuring 10 conformance to ISO/IEC 14364 (41.” 11 ISO/IEC 14364 (4) contains a programming language binding specification for 12 ISO
4、/IEC 14360 2), using the C programming language. ISO/IEC 14362 (3) con- 13 tains language-independent requirements for test methods for measuring confor- 14 mance to programming language binding specifications for ISO/IEC 14360 2), 15 such as that contained in ISO/IEC 14364 (4). This International S
5、tandard con- 16 tains C language specific requirements for the test methods. Taken in conjunction 17 with the requirements imposed by ISO/IEC 14362 3), they constitute the require- 18 ments that shall be satisfied by test methods used for measuring conformance to 19 ISO/IEC 14364 (4). Section 1: Gen
6、eral 1.1 Scope 20 1) The numbers in curly brackets correspond to those of the references in 1.2. 1.1 Scope ISOLCJX 14366:1996(E) OISO/IEC 21 The following standards contain provisions which, through reference in this text, 22 constitute provisions of this International Standard. At the time of publi
7、cation, 23 the editions indicated were valid. All standards are subject to revision, and parties 24 to agreements based on this International Standard are encouraged to investigate 25 the possibility of applying the most recent editions of the standards indicated 26 below. Members of IEC and IS0 mai
8、ntain registers of currently valid Interna- 27 tional Standards. 28 29 30 31 32 33 34 35 36 (41 ISOIIEC 14364: 1996, Information technology-Open Systems Interconnec- 37 tion (OSI) abstract data manipulation C language interfaces-Binding for 38 Application Program Interface (API). 39 40 41 42 A set o
9、f test methods that conforms to this International Standard shall conform to 43 IEEE Std 1003.3-1991 151, with references to the “P0SIX.n test method 44 specification” being interpreted as references to this International Standard, and 45 references to “the POSIX standard for which conformance is be
10、ing measured” being 46 interpreted as references to ISO/IEC 14364 (4). 47 48 49 50 51 52 A set of test methods that conforms to this International Standard shall also con- 53 form to ISO/IEC 14362 31. 1.2 Normative References 111 ISO/IEC 9899: 1990,2 Programming languages-C. Ia ISO/IEC 14360: 1996,
11、I f n ormation technology-Open Systems Interconnec- tion (OSI, abstract data manipulation-Application Program Interface (API) Language independent. 131 ISO/IEC 14362: 1996, I n ormation technology-Test methods for measuring f conformance to Open Systems Interconnection (OSI) abstract data manipulati
12、on-Application Program Interface (API) Language indepen- dent. (51 IEEE Std 1003.3-1991,3 IEEE Standard for Information Technology-Test Methods for Measuring Conformance to POSIX. 1.3 Conformance In addition to meeting the conformance criteria defined in IEEE Std 1003.3-1991 51, a set of test method
13、s that conforms to this International Standard shall test all documentation assertions defined in this International Standard. NOTE: Conformance to IEEE Std 1003.3-1991 (51 implies that the test methods will test all other assertions defined in this International Standard. 54 2) ISO/IEC documents ca
14、n be obtained from the IS0 Central Secretariat, 1 Rue de Varembe, Case 55 Postale 56, CH-1211, Geneve 20, SwitzerlandDuisse. 56 3) IEEE documents can be obtained from the IEEE Service Center, 445 Hoes Lane, P.O. Box 1331, 57 Piscataway, NJ, 08855-1331, USA. 2 1 General 0 ISOAEC ISO/IEC 14366:1996(E)
15、 2 3 2.1.1 General and Typographic Conventions 8 9 10 11 12 13 14 15 The C language binding specifies C identifiers for all the elements of the interface. 16 These elements include function names, typedef names, and constants. All the C 17 identifiers are mechanically derived from the language-indep
16、endent names. 18 The interface uses part of the C public namespace for its facilities. All identifiers 19 that start with the letters om, o See 003(A) in 55.1 R02 The symbolic constant OM-FALSE) represents false, which is equal to zero. See 003(A) in 5.5.1 R03 008(A) The symbolic constant (OM-TRUE r
17、epresents true and is equal to the integer one. See 003(A) in 5.5.1 The value true is denoted by any integer other than zero. 28 5.2.3 Descriptor 29 30 31 32 33 34 35 36 R04 The structure OM-descriptor-struct is declared as follows: typedef struct OM-descriptor-struct 1 OM-type type; OM-syntax synta
18、x; OM-value value; OM-descriptor; See 003(A) in 5.5.1 37 38 39 40 41 GAO1 For funct0 in om-copy 0, om-create(), om-decode(), om-encode(), om_get(): 42 43 44 45 46 GAO2 For funct0 in om-copy(), om-create(), om-decode(), om-encode(), omxet(): 47 48 009(A) The macro OMJXNTAX extracts the syntax value f
19、rom an OM-descriptor-struct. 49 50 010(A) The macro OM-SYNTAX-ASSIGN stores a syntax value in an OM-descriptor-struct. When funct0 is called and returns successfully, then the type member of any OM-descriptor-struct returned identifies the type of the attribute value. When funct() is called and retu
20、rns successfully, then the syntax member of any OM-descriptor-struct returned identifies the syntax of the attribute value. 18 5 Test Assertions-Service Interface 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 OI
21、SO/IEC ISOLIEC 14366:1996(E) GAO3 For funct() in om-copy(), om-create(), om-decode(), om-encode(), om_get(): When funct0 is called and returns successfully, then the (OM-S-LONG-STRING) value of any descriptor returned is tOM_TRUE) if, and only if, the descriptor is service generated and the length o
22、f the value is greater than an implementation defined limit. DO2 The limit that, when exceeded by the length of a descriptor value, causes the OMSLONGSTRING) component of the syntax com- ponent of the descriptor to be set to (OM-TRUE) is documented. GAO4 For funct() in om-copy(), om-create(), om-dec
23、ode(), om-encode(), om_get(): When funct( is called and returns successfully, then the (OM-S-NO-VALUE) value of any descriptor returned is (OM-TRUE) only if the descriptor is service generated and the value is not present. GAO5 For funct() in om-copy(), om-create(), om-decode(), om-encode(), om_get(
24、): When funct( is called and returns successfully and the Syntax is String(*), then the (OM-S-LOCAL-STRING) value of any descriptor returned is (OM-TRUE) if, and only if, the string is represented in an implementation defined local character set. DO3 GAO6 Any implementation-defined local character s
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITSISOIEC143661996INFORMATIONTECHNOLOGYTESTMETHODSFORMEASURINGCONFORMANCETOOPENSYSTEMSINTERCONNECTIONOSIABSTRACTDATAMANIPULATIONCLANGUAGEINTERFACEPPDF

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