Professional Documents
Culture Documents
1—1991
ISO/IEC 9945-1: 1990
Australian Standard ®
This is a free 11 page sample. Access the full version at http://infostore.saiglobal.com.
Information processing—Portable
Operating System Interface (POSIX)
Attorney-Generals Department
AUSTEL
Australian Bankers’ Association
Australian Bureau of Statistics
Australian Chamber of Manufactures
Australian Computer Society
Australian Computer Users Association
Department of Defence
Department of Finance
Landata
Telecom Australia
Universities and colleges
Review of Australian Standards. To keep abreast of progress in industry, Australian Standards are subject to
periodic review and are kept up to date by the issue of amendments or new editions as necessary. It is important
therefore that Standards users ensure that they are in possession of the latest edition, and any amendments thereto.
Full details of all Australian Standards and related publications will be found in the Standards Australia Catalogue
of Publications; this information is supplemented each month by the magazine ‘The Australian Standard’, which
subscribing members receive, and which gives details of new publications, new editions and amendments, and of
withdrawn Standards.
Suggestions for improvements to Australian Standards, addressed to the head office of Standards Australia, are
welcomed. Notification of any inaccuracy or ambiguity found in an Australian Standard should be made without
delay in order that the matter may be investigated and appropriate action taken.
AS 3976.1—1991
Australian Standard®
This is a free 11 page sample. Access the full version at http://infostore.saiglobal.com.
Information processing—Portable
Operating System Interface (POSIX)
PREFACE
This Standard was prepared by the Standards Australia Committee on Information Systems—
Vocabulary and Software. It is identical with and has been reproduced from ISO/IEC 9945-1: 1990
Information technology—Portable Operating System Interface (POSIX), Part 1: System Application
Program Interface (API) [C Language].
Under arrangements made between Standards Australia and the international Standards bodies, ISO
and IEC, as well as certain other Standards organizations, users of this Australian Standard are
advised of the following:
(a) Copyright is vested in Standards Australia.
(b) The number of this Standard is not reproduced on each page; its identity is shown only on the
cover and title pages.
For the purposes of this Australian Standard, the ISO/IEC text should be modified as follows:
This is a free 11 page sample. Access the full version at http://infostore.saiglobal.com.
(i) Terminology The words ‘Australian Standard’ should replace the words ‘International Standard’
wherever they appear.
(ii) References The references to International Standards should be replaced by references to
Australian Standards as follows:
Reference to International Standard Australian Standard
ISO/IEC AS
646 Information processing—ISO 7-bit 1776 Information processing—7-bit coded
coded character set for information character set for information
interchange interchange
9899 Information technology—Programming 3955 Information processing—Programming
Languages—C Languages—C
CONTENTS
Page
Section 1: General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Normative References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Page
Page
Page
TABLES
Page
Table 6-3 — l_type Values for Record Locking With fcntl() . . . . . . . . . . . . . . . . . . 122
Table 6-5 — File Status Flags Used for open () and fcntl () . . . . . . . . . . . . . . . . . . . 122
Table 6-6 — File Access Modes Used for open() and fcntl () . . . . . . . . . . . . . . . . . . 123
Table 6-7 — Mask for Use With File Access Modes . . . . . . . . . . . . . . . . . . . . . . . . 123
Page
Part 1:
System Application Program Interface (API) C
Language
This is a free 11 page sample. Access the full version at http://infostore.saiglobal.com.
Section 1: General
1 1.1 Scope
2 This part of ISO/IEC 9945 defines a standard operating system interface and
3 environment to support application portability at the source-code level. It is
4 intended to be used by both application developers and system implementors.
10 (4) Interface issues, including portability, error handling, and error recovery
11 The following areas are outside of the scope of this part of ISO/IEC 9945:
1.1 Scope
COPYRIGHT
This is a free preview. Purchase the entire publication at the link below: