欢迎来到三一文库! | 帮助中心 三一文库31doc.com 一个上传文档投稿赚钱的网站
三一文库
全部分类
  • 研究报告>
  • 工作总结>
  • 合同范本>
  • 心得体会>
  • 工作报告>
  • 党团相关>
  • 幼儿/小学教育>
  • 高等教育>
  • 经济/贸易/财会>
  • 建筑/环境>
  • 金融/证券>
  • 医学/心理学>
  • ImageVerifierCode 换一换
    首页 三一文库 > 资源分类 > PDF文档下载
     

    IEEE-1003.5-1999.pdf

    • 资源ID:3771156       资源大小:4.70MB        全文页数:889页
    • 资源格式: PDF        下载积分:30
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录   微博登录  
    二维码
    微信扫一扫登录
    下载资源需要30
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    IEEE-1003.5-1999.pdf

    POSIX is a registered trademark of the Institute of Electrical and Electronics Engineers, Inc. IEEE Std 1003.5, 1999 Edition (Incorporates IEEE Std 1003.5-1992, IEEE Std 1003.5b-1996, and IEEE Std 1003.5c-1998) IEEE Standard for Information Technology POSIX ® Ada Language Interfaces Part 1: Binding for System Application Program Interface (API) Includes Amendment 1: Realtime Extensions and Amendment 2: Protocol-Independent Interfaces Sponsor Portable Applications Standards Committee of the IEEE Computer Society Approved 8 December 1998 IEEE Standards Board Abstract: This standard is part of the POSIX ® series of standards for applications and user inter- faces to open systems. It defines the Ada language bindings as package specifications and accom- panying 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 (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, synchronization, 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 be proviced 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, sockets, thread, XTI. Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/20/2007 08:17:53 MDTNo reproduction or networking permitted without license from IHS -,-,- IEEE Std 1003.5, 1999 Edition (Incorporates IEEE Std 1003.5-1992, IEEE Std 1003.5b-1996, and IEEE Std 1003.5c-1998) The Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue, New York, NY 10016-5997, USA Copyright © 1999 by the Institute of Electrical and Electronics Engineers, Inc. All rights reserved. Published 3 December 1999. Printed in the United States of America. Print: ISBN 0-7381-1539-8 SH94710 PDF: ISBN 0-7381-1540-1 SS94710 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. Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/20/2007 08:17:53 MDTNo reproduction or networking permitted without license from IHS -,-,- IEEE Standards documents are developed within 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 consensus 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 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 the art and comments received from users of the standard. Every IEEE Standard is subjected to review at least every fi ve years for revision or reaffi rmation. When a document is more than fi ve years old and has not been reaffi rmed, it is rea- sonable to conclude that its contents, although still of some value, do not wholly refl ect 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 affi liation with IEEE. Suggestions for changes in 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 specifi c applications. When the need for interpretations is brought to the attention 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 members 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: Secretary, 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 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 obtained 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 rights 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. Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/20/2007 08:17:53 MDTNo reproduction or networking permitted without license from IHS -,-,- Contents PAGE Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi Section 1: General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 1.1Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 1.2Normative References. . . . . . . . . . . . . . . . . . . . . . . . . . . .3 1.3Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 Section 2: Terminology and General Requirements. . . . . . . . . . . . . . . .9 2.1Editorial Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 2.2 Defi nitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2.3General Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 2.4Package POSIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 2.5Package POSIX_Options. . . . . . . . . . . . . . . . . . . . . . . . . .76 2.6Package POSIX_Limits . . . . . . . . . . . . . . . . . . . . . . . . . . .82 2.7Package Ada_Streams . . . . . . . . . . . . . . . . . . . . . . . . . . . .87 2.8Package System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88 2.9Package System_Storage_Elements . . . . . . . . . . . . . . . . . . .89 2.10 Package POSIX_Page_Alignment . . . . . . . . . . . . . . . . . . . . .90 2.11 Environment Description . . . . . . . . . . . . . . . . . . . . . . . . . . .91 Section 3: Process Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 3.1Package POSIX_Process_Primitives . . . . . . . . . . . . . . . . . .95 3.2Package POSIX_Unsafe_Process_Primitives . . . . . . . . . . . . .108 3.3Package POSIX_Signals. . . . . . . . . . . . . . . . . . . . . . . . . .115 Section 4: Process Environment. . . . . . . . . . . . . . . . . . . . . . . . . . .149 4.1Package POSIX_Process_Identification . . . . . . . . . . . . . . .149 4.2Package POSIX_Process_Times . . . . . . . . . . . . . . . . . . . . . .156 4.3Package POSIX_Process_Environment . . . . . . . . . . . . . . . . .157 4.4Package POSIX_Calendar . . . . . . . . . . . . . . . . . . . . . . . . . .164 4.5Package POSIX_Configurable_System_Limits . . . . . . . . . . . .167 Section 5: Files and Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . .175 5.1Package POSIX_Permissions. . . . . . . . . . . . . . . . . . . . . . .175 5.2Package POSIX_Files . . . . . . . . . . . . . . . . . . . . . . . . . . . .178 5.3Package POSIX_File_Status. . . . . . . . . . . . . . . . . . . . . . .190 5.4Package POSIX_Configurable_File_Limits. . . . . . . . . . . . .194 Section 6: I/O Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205 6.1Package POSIX_IO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205 ii Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/20/2007 08:17:53 MDTNo reproduction or networking permitted without license from IHS -,-,- 6.2Package POSIX_File_Locking . . . . . . . . . . . . . . . . . . . . . . .232 6.3Package POSIX_Asynchronous_IO. . . . . . . . . . . . . . . . . . . .234 Section 7: Device- and Class-Specifi c Functions. . . . . . . . . . . . . . . . . .253 7.1General Terminal Interface. . . . . . . . . . . . . . . . . . . . . . . . .253 7.2Package POSIX_Terminal_Functions . . . . . . . . . . . . . . . . . .260 Section 8: Language-Specifi c Services for Ada. . . . . . . . . . . . . . . . . . .279 8.1Interoperable Ada I/O Services. . . . . . . . . . . . . . . . . . . . . . .279 8.2Package POSIX_Supplement_to_Ada_IO . . . . . . . . . . . . . . . . .283 Section 9: System Databases. . . . . . . . . . . . . . . . . . . . . . . . . . . . .287 9.1Package POSIX_User_Database . . . . . . . . . . . . . . . . . . . . . .287 9.2Package POSIX_Group_Database . . . . . . . . . . . . . . . . . . . . .289 Section 10: Data Interchange Format. . . . . . . . . . . . . . . . . . . . . . . .293 Section 11: Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295 11.1 Package POSIX_Semaphores . . . . . . . . . . . . . . . . . . . . . . . .295 11.2 Package POSIX_Mutexes. . . . . . . . . . . . . . . . . . . . . . . . . .304 11.3 Package POSIX_Condition_Variables . . . . . . . . . . . . . . . . .314 Section 12: Memory Management. . . . . . . . . . . . . . . . . . . . . . . . . .323 12.1 Package POSIX_Memory_Locking . . . . . . . . . . . . . . . . . . . . .324 12.2 Package POSIX_Memory_Range_Locking . . . . . . . . . . . . . . . . .326 12.3 Package POSIX_Memory_Mapping . . . . . . . . . . . . . . . . . . . . .328 12.4 Package POSIX_Shared_Memory_Objects . . . . . . . . . . . . . . . .337 12.5 Package POSIX_Generic_Shared_Memory . . . . . . . . . . . . . . . .341 Section 13: Execution Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . .349 13.1 Scheduling Concepts and Terminology . . . . . . . . . . . . . . . . . . .349 13.2 Package POSIX_Process_Scheduling . . . . . . . . . . . . . . . . . .349 13.3 Task Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .354 13.4 Synchronization Scheduling . . . . . . . . . . . . . . . . . . . . . . . . .356 Section 14: Clocks and Timers. . . . . . . . . . . . . . . . . . . . . . . . . . . .357 14.1 Package POSIX_Timers . . . . . . . . . . . . . . . . . . . . . . . . . . .357 14.2 High Resolution Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . .366 Section 15: Message Passing. . . . . . . . . . . . . . . . . . . . . . . . . . . . .367 15.1 Package POSIX_Message_Queues . . . . . . . . . . . . . . . . . . . . .367 Section 16: Task Management. . . . . . . . . . . . . . . . . . . . . . . . . . . .383 16.1 Package Ada_Task_Identification . . . . . . . . . . . . . . . . . . .383 Section 17: Detailed Network Interface - XTI . . . . . . . . . . . . . . . . . . . .385 17.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .385 17.2 States and Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391 17.3 The Use of Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399 17.4 Package POSIX_XTI. . . . . . . . . . . . . . . . . . . . . . . . . . . . .410 iii Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/20/2007 08:17:53 MDTNo reproduction or networking permitted without license from IHS -,-,- Section 18: Detailed Network Interface - Socket . . . . . . . . . . . . . . . . . .487 18.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .487 18.2 Events and States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489 18.3 Use of Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .498 18.4 Package POSIX_Sockets. . . . . . . . . . . . . . . . . . . . . . . . . .498 Section 19: Event Management . . . . . . . . . . . . . . . . . . . . . . . . . . . .535 19.1 Package POSIX_Event_Management . . . . . . . . . . . . . . . . . . . .535 Annex A (informative) Bibliography . . . . . . . . . . . . . . . . . . . . . . . . .547 Annex B (informative) Rationale and Notes . . . . . . . . . . . . . . . . . . . . .549 B.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .549 B.2 Terminology and General Requirements . . . . . . . . . . . . . . . . . .563 B.3 Process Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .575 B.4 Process Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . .592 B.5 Files and Directories. . . . . . . . . . . . . . . . . . . . . . . . . . . . .598 B.6 Input and Output Primitives. . . . . . . . . . . . . . . . . . . . . . . .602 B.7 Device- and Class-Specif

    注意事项

    本文(IEEE-1003.5-1999.pdf)为本站会员(哈尼dd)主动上传,三一文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一文库(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    经营许可证编号:宁ICP备18001539号-1

    三一文库
    收起
    展开