1、Reference numberISO/IEC 14519:2001(E)IEEEStd 1003.5, 1999 editionInformation technology POSIXAdaLanguage Interfaces Binding for SystemApplication Program Interface (API)Technologies de linformation Interfaces de langage POSIXAda Boucle pour interface de programme dapplication systme (API)National St
2、andard of CanadaCAN/CSA-ISO/IEC 14519:04(ISO/IEC 14519:2001 / IEEE Std 1003.5, 1999)International Standard ISO/IEC 14519:2001 / IEEE Std 1003.5, 1999 (second edition, 2001-12-15) has beenadopted without modification (IDT) as CSA Standard CAN/CSA-ISO/IEC 14519:04, which has been approved as aNational
3、 Standard of Canada by the Standards Council of Canada.ISBN 1-55397-355-0 January 2004The Canadian Standards Association (CSA), The Standards Council of Canada is theunder whose auspices this National Standard has been coordinating body of the National Standards system, produced, was chartered in 19
4、19 and accredited by a federation of independent, autonomousthe Standards Council of Canada to the National organizations working towards the furtherStandards system in 1973. It is a not-for-profit, development and improvement of voluntarynonstatutory, voluntary membership association standardizatio
5、n in the national interest.engaged in standards development and certification The principal objects of the Council are to foster activities. and promote voluntary standardization as a means CSA standards reflect a national consensus of of advancing the national economy, benefiting theproducers and u
6、sers including manufacturers, health, safety, and welfare of the public, assisting consumers, retailers, unions and professional and protecting the consumer, facilitating domestic organizations, and governmental agencies. The and international trade, and furthering internationalstandards are used wi
7、dely by industry and commerce cooperation in the field of standards.and often adopted by municipal, provincial, and A National Standard of Canada is a standard whichfederal governments in their regulations, particularly in has been approved by the Standards Council ofthe fields of health, safety, bu
8、ilding and construction, Canada and one which reflects a reasonableand the environment. agreement among the views of a number of capableIndividuals, companies, and associations across individuals whose collective interests provide to theCanada indicate their support for CSAs standards greatest pract
9、icable extent a balance ofdevelopment by volunteering their time and skills to representation of producers, users, consumers, andCSA Committee work and supporting the Associations others with relevant interests, as may be appropriateobjectives through sustaining memberships. The more to the subject
10、in hand. It normally is a standardthan 7000 committee volunteers and the 2000 which is capable of making a significant and timelysustaining memberships together form CSAs total contribution to the national interest.membership from which its Directors are chosen. Approval of a standard as a National
11、Standard ofSustaining memberships represent a major source of Canada indicates that a standard conforms to theincome for CSAs standards development activities. criteria and procedures established by the StandardsThe Association offers certification and testing Council of Canada. Approval does not re
12、fer to theservices in support of and as an extension to its technical content of the standard; this remains thestandards development activities. To ensure the continuing responsibility of the accreditedintegrity of its certification process, the Association standards-development organization.regular
13、ly and continually audits and inspects products Those who have a need to apply standards arethat bear the CSA Mark. encouraged to use National Standards of CanadaIn addition to its head office and laboratory complex whenever practicable. These standards are subject in Toronto, CSA has regional branc
14、h offices in major to periodic review; therefore, users are cautioned centres across Canada and inspection and testing to obtain the latest edition from the organizationagencies in eight countries. Since 1919, the preparing the standard.Association has developed the necessary expertise to The respon
15、sibility for approving National Standards meet its corporate mission: CSA is an independent of Canada rests with theservice organization whose mission is to provide an Standards Council of Canadaopen and effective forum for activities facilitating the 270 Albert Street, Suite 200exchange of goods an
16、d services through the use of Ottawa, Ontario, K1P 6N7standards, certification and related services to meet Canadanational and international needs.For further information on CSA services, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaAlthough th
17、e intended primary application of this Standard is stated in its Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their particular purpose.Registered trade-mark of Canadian Standards AssociationCAN/CSA-ISO/IEC 14519:04 Binding for System Appl
18、ication Program Interface (API)Information technology POSlX Ada Language Interfaces January 2004 Canadian Standards Association CSA/1CAN/CSA-ISO/IEC 14519:04Information technology POSlXAda Language Interfaces Bindingfor System Application ProgramInterface (API)CSA PrefaceStandards development within
19、 the Information Technology sector is harmonized with internationalstandards development. Through the CSA Technical Committee on Information Technology (TCIT),Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 onInformation Technology (ISO/IEC JTC1) for t
20、he Standards Council of Canada (SCC), the ISO memberbody for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of theInternational Telecommunication Union (ITU), Canada participates in the International Telegraph andTelephone Consultative Committee (ITU-T).This Inte
21、rnational Standard was reviewed by the CSA TCIT under the jurisdiction of the StrategicSteering Committee on Information Technology and deemed acceptable for use in Canada. (Acommittee membership list is available on request from the CSA Project Manager.) From time to time,ISO/IEC may publish addend
22、a, corrigenda, etc. The CSA TCIT will review these documents for approvaland publication. For a listing, refer to the CSA Information Products catalogue or CSA Info Update orcontact a CSA Sales representative. This Standard has been formally approved, without modification, bythe Technical Committee
23、and has been approved as a National Standard of Canada by the StandardsCouncil of Canada.January 2004 Canadian Standards Association 2004All rights reserved. No part of this publication may be reproduced in any form whatsoever without the prior permission ofthe publisher. ISO/IEC material is reprint
24、ed with permission. Where the words “this International Standard” appear in thetext, they should be interpreted as “this National Standard of Canada”. Inquiries regarding this National Standard of Canada should be addressed to Canadian Standards Association 5060 Spectrum Way, Suite 100, Mississauga,
25、 Ontario, Canada L4W 5N6 1-800-463-6727 416-747-4044www.csa.caReference numberISO/IEC 14519:2001(E)IEEEStd 1003.5, 1999 editionINTERNATIONALSTANDARDISO/IEC14519IEEEStd 1003.5Second edition2001-12-15Information technology POSIXAdaLanguage Interfaces Binding for SystemApplication Program Interface (AP
26、I)Technologies de linformation Interfaces de langage POSIXAda Boucle pour interface de programme dapplication systme (API)ISO/IEC 14519:2001(E)PDF disclaimerThis PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall notbe ed
27、ited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading thisfile, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in thisarea.Adobe is a tra
28、demark of Adobe Systems Incorporated.Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameterswere optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies
29、. In the unlikely eventthat a problem relating to it is found, please inform the Central Secretariat at the address given below.ISOCase postale 56 Gb7 CH-1211 Geneva 20Tel. + 41 22 749 01 11Fax + 41 22 749 09 47E-mail copyrightiso.chWeb www.iso.chiiInternational Standard ISO/IEC 14519:2001(E)IEEE St
30、d 1003.5, 1999 Edition(Incorporates IEEE Std 1003.5-1992,IEEE Std 1003.5b-1996, andIEEE Std 1003.5c-1998)Information technology POSIX AdaLanguage Interfaces Binding for SystemApplication Program Interface (API)SponsorPortable Applications Standards Committeeof theIEEE Computer SocietyApproved 17 Mar
31、ch 2001IEEE-SA Standards BoardApproved 2001International Organization for Standardizationand by theInternational Electrotechnical CommissionPublished by The Institute of Electricaland Electroncis Engineeris, Inc.Abstract: This standard is part of the POSIX series of standards for applications and us
32、er inter-faces toopen systems. It defines the Ada language bindings as package specifications and accompanying textualdescriptions of the application program interface (API). This standard supports application portability at thesource code level through the binding between ISO 8652:1995 (Ada) and IS
33、O/IEC 9945-1:1996 (IEEE Std1003.1-1996) (POSIX) as amended by IEEE P1003.1g/D6.6. Terminology and general requirements, processprimitives, the process environment, files and directories, input and output primaries, device- and class-specific functions, language-specific services for Ada, system data
34、bases, synchronization, memorymanagement, execution scheduling, clocks and timers, message passing, task management, the XTI andsocket detailed network inter-faces, event management, network support functions, and protocol-specificmappings are covered. It also specifies behavior to support the bindi
35、ng that must 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-t
36、ime, sockets, thread, XTIThe Institute of Electrical and Electronics Engineers, Inc.3 Park Avenue, New York, NY 10016-5997, USACopyright 2001 by the Institute of Electrical and Electronics Engineers, Inc.All rights reserved. Published 2001. This printing is by the International Organization for Stan
37、dardization with specialPrint: ISBN 0-7381-2921-6 SH94937PDF: ISBN 0-7381-2922-4 SS94937No 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
38、 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 CommissionCase postale 56 Gb7 CH-1211 Genve 20 Gb7 Switzerla
39、ndiiiInternational 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 IECparticipate in the development of
40、International Standards through technical committees established by therespective organization to deal with particular fields of technical activity. ISO and IEC technical committeescollaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, inliais
41、on 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 adopt
42、ed 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 be the
43、 subject ofpatent 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, Informationtechnology, Subcommittee SC 22, Programming languages, their environments and sys
44、tem software interfaces.This second edition cancels and replaces the first edition (ISO/IEC 14519:1999), which has been technicallyrevised.Annex D forms a normative part of this International Standard. Annexes A, B and C are for information only.IEEE Standardsdocuments are developed within the IEEE
45、Societies and the Standards Coordinating Com-mittees of the IEEE Standards Association (IEEE-SA) Standards Board. Members of the committees servevoluntarily and without compensation. They are not necessarily members of the Institute. The standardsdeveloped within IEEE represent a consensus of the br
46、oad expertise on the subject within the Institute aswell as those activities outside of IEEE that have expressed an interest in participating in the development ofthe standard.Use of an IEEE Standard is wholly voluntary. The existence of an IEEE Standard does not imply that thereare no other ways to
47、 produce, test, measure, purchase, market, or provide other goods and services related tothe scope of the IEEE Standard. Furthermore, the viewpoint expressed at the time a standard is approved andissued is subject to change brought about through developments in the state of the art and commentsrecei
48、ved from users of the standard. Every IEEE Standard is subjected to review at least every five years forrevision or reaffirmation. When a document is more than five years old and has not been reaffirmed, it is rea-sonable to conclude that its contents, although still of some value, do not wholly ref
49、lect the present state ofthe 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 membershipaffiliation with IEEE. Suggestions for changes in documents should be in the form of a proposed change oftext, together with appropriate supporting comments.Interpretations: Occasionally questions may arise regarding the meaning of portions of standards as theyrelate to specific applications. When the ne