ImageVerifierCode 换一换
格式:PDF , 页数:894 ,大小:7.98MB ,
资源ID:1256847      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-1256847.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ISO IEC 14519-2001 Information technology - POSIX? Ada Language Interfaces - Binding for System Application Program Interface (API)《信息技术 POSIX Ada 语言接口 系统应用程序接口.pdf)为本站会员(bowdiet140)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ISO IEC 14519-2001 Information technology - POSIX? Ada Language Interfaces - Binding for System Application Program Interface (API)《信息技术 POSIX Ada 语言接口 系统应用程序接口.pdf

1、Reference number ISO/IEC 14519:2001(E) IEEE Std 1003.5, 1999 edition INTERNATIONAL STANDARD ISO/IEC 14519 IEEE Std 1003.5 Second edition 2001-12-15 Information technology POSIX Ada Language Interfaces Binding for System Application Program Interface (API) Technologies de linformation Interfaces de l

2、angage POSIX Ada Boucle pour interface de programme dapplication systme (API)ISO/IEC 14519:2001(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedd

3、ed are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. D

4、etails of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a proble

5、m relating to it is found, please inform the Central Secretariat at the address given below. ISO Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.ch Web www.iso.ch ii International Standard ISO/IEC 14519:2001(E)IEEE Std 1003.5, 1999 Edition(Incorpora

6、tes IEEE Std 1003.5-1992, IEEE Std 1003.5b-1996, and IEEE Std 1003.5c-1998)Information technology POSIX Ada Language Interfaces Binding for System Application Program Interface (API)SponsorPortable Applications Standards Committee of the IEEE Computer SocietyApproved 17 March 2001IEEE-SA Standards B

7、oardApproved 2001International Organization for Standardization and by the International Electrotechnical Commission Published by The Institute of Electrical and Electroncis Engineeris, Inc. Abstract: This standard is part of the POSIX series of standards for applications and user inter-faces to ope

8、n systems. It defines the Ada language bindings as package specifications and accompanying textual descriptions of the application program interface (API). This standard supports application portability at the source code level through the binding between ISO 8652:1995 (Ada) and ISO/IEC 9945-1:1996

9、(IEEE Std 1003.1-1996) (POSIX) as amended by IEEE P1003.1g/D6.6. Terminology and general requirements, process primitives, the process environment, files and directories, input and output primaries, device- and class- specific functions, language-specific services for Ada, system databases, synchron

10、ization, memory management, execution scheduling, clocks and timers, message passing, task management, the XTI and socket detailed network inter-faces, event management, network support functions, and protocol-specific mappings are covered. It also specifies behavior to support the binding that must

11、 be provided by the Ada.Keywords:Ada, API, application portability, computer language bindings, information exchange, interprocess communication, networks, open systems, operating systems, portable application, POSIX, POSIX language bindings, protocol-specific, protocol-independent, real-time, socke

12、ts, thread, XTI The Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue, New Y ork, NY 10016-5997, USA Copyright 2001 by the Institute of Electrical and Electronics Engineers, Inc. All rights reserved. Published 2001. This printing is by the International Organization for Standardi

13、zation with special Print: ISBN 0-7381-2921-6 SH94937 PDF: ISBN 0-7381-2922-4 SS94937 No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the prior written permission of the publisher. POSIX is a registered trademark of the Institute of

14、Electrical and Electronics Engineers, Inc. permission of the Institute of Electrical and Electronics Engineers, Inc. Published in SwitzerlandISO/IEC 14519:2001(E) International Organization for Standardization/International Electrotechnical Commission Case postale 56 CH-1211 Genve 20 Switzerland iii

15、 International Standard ISO/IEC 14519:2001(E) ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of I

16、nternational Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in lia

17、ison with ISO and IEC, also take part in the work. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards

18、adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this International Standard may

19、 be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. International Standard ISO/IEC 14519 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 22, Programming languages, their environmen

20、ts and system software interfaces. This second edition cancels and replaces the first edition (ISO/IEC 14519:1999), which has been technically revised. Annex D forms a normative part of this International Standard. Annexes A, B and C are for information only. IEEE Standardsdocuments are developed wi

21、thin the IEEE Societies and the Standards Coordinating Com- mittees of the IEEE Standards Association (IEEE-SA) Standards Board. Members of the committees serve voluntarily and without compensation. They are not necessarily members of the Institute. The standards developed within IEEE represent a co

22、nsensus of the broad expertise on the subject within the Institute as well as those activities outside of IEEE that have expressed an interest in participating in the development of the standard. Use of an IEEE Standard is wholly voluntary. The existence of an IEEE Standard does not imply that there

23、 are no other ways to produce, test, measure, purchase, market, or provide other goods and services related to the scope of the IEEE Standard. Furthermore, the viewpoint expressed at the time a standard is approved and issued is subject to change brought about through developments in the state of th

24、e art and comments received from users of the standard. Every IEEE Standard is subjected to review at least every ve years for revision or reafrmation. When a document is more than ve years old and has not been reafrmed, it is rea- sonable to conclude that its contents, although still of some value,

25、 do not wholly reect the present state of the art. Users are cautioned to check to determine that they have the latest edition of any IEEE Standard. Comments for revision of IEEE Standards are welcome from any interested party, regardless of membership afliation with IEEE. Suggestions for changes in

26、 documents should be in the form of a proposed change of text, together with appropriate supporting comments. Interpretations: Occasionally questions may arise regarding the meaning of portions of standards as they relate to specic applications. When the need for interpretations is brought to the at

27、tention of IEEE, the Institute will initiate action to prepare appropriate responses. Since IEEE Standards represent a consensus of all concerned interests, it is important to ensure that any interpretation has also received the concurrence of a balance of interests. For this reason, IEEE and the me

28、mbers of its societies and Standards Coordinating Committees are not able to provide an instant response to interpretation requests except in those cases where the matter has previously received formal consideration. Comments on standards and requests for interpretations should be addressed to: Secr

29、etary, IEEE-SA Standards Board 445 Hoes Lane P.O. Box 1331 Piscataway, NJ 08855-1331 USA Authorization to photocopy portions of any individual standard for internal or personal use is granted by the Institute of Electrical and Electronics Engineers, Inc., provided that the appropriate fee is paid to

30、 Copyright Clearance Center. To arrange for payment of licensing fee, please contact Copyright Clearance Center, Cus- tomer Service, 222 Rosewood Drive, Danvers, MA 01923 USA; (978) 750-8400. Permission to photocopy portions of any individual standard for educational classroom use can also be obtain

31、ed through the Copy- right Clearance Center. Note: Attention is called to the possibility that implementation of this standard may require use of subject matter covered by patent rights. By publication of this standard, no position is taken with respect to the existence or validity of any patent rig

32、hts in connection therewith. The IEEE shall not be responsible for identifying patents for which a license may be required by an IEEE standard or for conducting inquiries into the legal validity or scope of those patents that are brought to its attention.Contents PAGE Introduction . . . . . . . v i

33、Section 1: General . . . 1 1.1 Scope . . . . . . 1 1.2 Normative References . . . . . . 3 1.3 Conformance . . 4 Section 2: Terminology and General Requirements . . 9 2.1 Editorial Conventions. 9 2.2 Denitions . . . 1 0 2.3 General Concepts . . . 3 8 2.4 PackagePOSIX. 4 2 2.5 PackagePOSIX_Options 7 6

34、 2.6 PackagePOSIX_Limits . 8 2 2.7 PackageAda_Streams 8 7 2.8 PackageSystem 8 8 2.9 PackageSystem_Storage_Elements . 8 9 2.10 PackagePOSIX_Page_Alignment . 9 0 2.11 Environment Description . . . . . 9 1 Section 3: Process Primitives . 9 5 3.1 PackagePOSIX_Process_Primitives 9 5 3.2 PackagePOSIX_Unsa

35、fe_Process_Primitives.1 0 8 3.3 PackagePOSIX_Signals 1 1 5 Section 4: Process Environment . . . . . 1 4 9 4.1 PackagePOSIX_Process_Identification .1 4 9 4.2 PackagePOSIX_Process_Times 1 5 6 4.3 PackagePOSIX_Process_Environment .1 5 7 4.4 PackagePOSIX_Calendar1 6 4 4.5 PackagePOSIX_Configurable_Syste

36、m_Limits 1 6 7 Section 5: Files and Directories . . . . . . 1 7 5 5.1 PackagePOSIX_Permissions .1 7 5 5.2 PackagePOSIX_Files 1 7 8 5.3 PackagePOSIX_File_Status .1 9 0 5.4 PackagePOSIX_Configurable_File_Limits .1 9 4 Section 6: I/O Primitives . . . .2 0 5 6.1 PackagePOSIX_IO 2 0 5 ii 6.2 PackagePOSIX

37、_File_Locking.2 3 2 6.3 PackagePOSIX_Asynchronous_IO 2 3 4 Section 7: Device and ClassSpecic Functions . . 2 5 3 7.1 General Terminal Interface . . . 2 5 3 7.2 PackagePOSIX_Terminal_Functions 2 6 0 Section 8: LanguageSpecic Services for Ada . . . 2 7 9 8.1 Interoperable Ada I/O Services . 2 7 9 8.2

38、PackagePOSIX_Supplement_to_Ada_IO.2 8 3 Section 9: System Databases .2 8 7 9.1 PackagePOSIX_User_Database 2 8 7 9.2 PackagePOSIX_Group_Database .2 8 9 Section 10: Data Interchange Format . . 2 9 3 Section 11: Synchronization . .2 9 5 11.1 PackagePOSIX_Semaphores 2 9 5 11.2 PackagePOSIX_Mutexes 3 0 4

39、 11.3 PackagePOSIX_Condition_Variables .3 1 4 Section 12: Memory Management . . . . 3 2 3 12.1 PackagePOSIX_Memory_Locking .3 2 4 12.2 PackagePOSIX_Memory_Range_Locking.3 2 6 12.3 PackagePOSIX_Memory_Mapping .3 2 8 12.4 PackagePOSIX_Shared_Memory_Objects 3 3 7 12.5 PackagePOSIX_Generic_Shared_Memory

40、 3 4 1 Section 13: Execution Scheduling . . . . . 3 4 9 13.1 Scheduling Concepts and Terminology . . . . .3 4 9 13.2 PackagePOSIX_Process_Scheduling 3 4 9 13.3 Task Scheduling . . . .3 5 4 13.4 Synchronization Scheduling . . . 3 5 6 Section 14: Clocks and Timers . . . . . . 3 5 7 14.1 PackagePOSIX_T

41、imers .3 5 7 14.2 High Resolution Delay . . . . . . 3 6 6 Section 15: Message Passing .3 6 7 15.1 PackagePOSIX_Message_Queues .3 6 7 Section 16: Task Management . . . . . . 3 8 3 16.1 PackageAda_Task_Identification .3 8 3 Section 17: Detailed Network Interface XTI . . . . 3 8 5 17.1 Introduction . .

42、3 8 5 17.2 States and Events . . .3 9 1 17.3 The Use of Options . .3 9 9 17.4 PackagePOSIX_XTI .4 1 0 iii Section 18: Detailed Network Interface Socket . . 4 8 7 18.1 Introduction . .4 8 7 18.2 Events and States . . .4 8 9 18.3 Use of Options .4 9 8 18.4 PackagePOSIX_Sockets 4 9 8 Section 19: Event

43、Management . . . . . . 5 3 5 19.1 PackagePOSIX_Event_Management5 3 5 Annex A (informative) Bibliography . . . 5 4 7 Annex B (informative) Rationale and Notes . . . . . . .5 4 9 B.1 General . . . . .5 4 9 B.2 Terminology and General Requirements . . . .5 6 3 B.3 Process Primitives . . .5 7 5 B.4 Proc

44、ess Environment .5 9 2 B.5 Files and Directories .5 9 8 B.6 Input and Output Primitives . . 6 0 2 B.7 Device and ClassSpecic Functions . . . . 6 1 0 B.8 LanguageSpecic Services for Ada . . . . . 6 1 0 B.9 System Databases . . .6 2 1 B.10 Data Interchange Format . . . . 6 2 3 B.11 Synchronization . .

45、 . .6 2 3 B.12 Memory Management.6 2 9 B.13 Execution Scheduling .6 3 4 B.14 Clocks and Timers . . .6 3 9 B.15 Message Passing . . . .6 4 2 B.16 Task Identication . .6 4 3 B.17 ThreadSpecic Data .6 4 3 B.18 Detailed Network Interface XTI6 4 3 B.19 Detailed Network Interface Socket . . . . 6 4 6 B.20

46、 Network Support Functions . . . 6 4 7 B.21 Protocol Mappings Annex . . . . 6 4 8 Annex C (informative) Ada/C CrossReferences . . . 6 5 1 C.1 AdatoC CrossReference . . . .6 5 1 C.2 CtoAda CrossReference . . . .6 8 1 Annex D (normative) Protocol Mappings . 7 1 3 D.1 Sockets Protocol Mappings . . . .

47、7 1 3 D.2 XTI Protocol Mappings . . . . . . 7 5 9 Alphabetic Topical Index . . . .8 1 9 TABLES Table1.1 Sockets and XTI Package Renaming . . . . . 5 Table2.1 Typographical Conventions . . 9 iv Table2.2 Constant and Subtype Correspondences . . 5 2 Table2.3 Option Set Comparisons . . . . 6 0 Table2.4

48、Static Subtypes and Options . 8 1 Table2.5 Portable Constants and Limits 8 6 Table2.6 Static Subtypes and Limits . . 8 8 Table3.1 Default Actions for Job Control Signals . . .1 2 7 Table4.1 Functions for SystemWide Options . . . 1 7 2 Table4.2 Congurable System Limits . 1 7 4 Table6.1 Standard File

49、Descriptors . . . 2 0 9 Table6.2 Error Codes and AIO Status Values . . . . .2 4 7 Table7.1 Terminal_Characteristics Components2 6 3 Table7.2 Terminal_Modes Values for Input Control . . . .2 6 5 Table7.3 Terminal_Modes Values for Output Control . . .2 6 7 Table7.4 Terminal_Modes Values for Hardware Control . .2 6 7 Table7.5 Terminal_Modes Values for Local Control Modes . . . . . . 2

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1