ISO/IEC JTC 1/SC22/WG15 N260 WG15 PROJECT EDITOR'S REPORT -- MAY 1992 Hal Jespersen This report describes progress in editorial matters and satisfaction of action items from the Kista meeting. 1. Reorganization of 9945-1 language-independent version (AI 9111-51). I was asked to work with the US on a proposed reorganization of 9945-1LI. The requirement for this document is that the combination of the LI standard and the C-language binding standard be technically identical to ISO/IEC 9945-1:1990. The experience in the US with initial drafts has found that this is achievable, but that organizing the document in a manner identical to the 1990 standard poses difficulties for other language-binding groups, such as Ada (1003.5). Therefore, the US has proposed to reorganize the table of contents for the new LI standard to remove some of the historical C-language bias and allow a more logical grouping of some components. The proposed table of contents is attached as Attachment 1. I have reviewed this proposal and believe it is mostly editorial in nature: all functional interfaces are present, but in different editorial sequences. I believe that it will also make it easier to integrate the functionality of the P1003.4 realtime API into this structure. However, there are three possibly non-editorial aspects to this reorganization and I would like WG15's approval for them: a. The section/clause numbering of the -1990 standard may be important to national or regional standards, or profiles, that cite it. I do not believe that this is yet a problem, but would like confirmation. b. Section 10 is proposed for deletion. This is the cpio/tar material, which is proposed for inclusion in the final (IS) version of 9945-2. It is probable that 9945-2 will be approved before the LI version of 9945-1, so this material would not be lost. c. Annex D is proposed for deletion. This general description of profiles is superseded by the new Annex C (see the next item on Portability Considerations) and the profile materials in P1003.0. I have taken the liberty of preparing the new Document Structure Plan to agree with this proposal. It will be distributed at the May meeting. It includes the additions of P1003.4, .6, and other POSIX groups preparing APIs. I also have a more detailed table of contents listing all language-independent procedures and their corresponding C functions, which will be available for inspection, or general ditribution if it is requested. 2. Portability Annex (AI 9111-47). I was asked to propose actions required to satisfy the TSG-1 Final Report Annex A and JTC 1 requirements for annexes concerning portability information. I have accomplished this with a new informative Annex F in P1003.2/D11.3, which will be distributed at the May meeting. (This annex also will be distributed in email prior to the meeting.) This is meant to be the annex for 9945-2 as well as a template for 9945-1 and other standards produced for WG15. It has three major parts/clauses: F.1. User Requirements (for shell and utility environments) F.2. Portability Capabilities (how 9945-2 addresses those requirements) F.3 Profiling Considerations (how profile writers should specify the various options in 9945-2 for various target audiences). I would appreciate feedback from the member bodies on the suitability of this annex. 3. Document Structure Plan. I will submit a new version for the May meeting. It includes the organizational aspects of test standards and language bindings that I described in my previous report. ATTACHMENT 1 -- Proposed 9945-1 Reorganization new LI -1990 section section ------- ------- 1 1 General 2 2 Terminology and General Requirements 2.1 2.1 Conventions 2.2 2.2 Definitions 2.3 2.5 Primitive System Data Types 2.4 2.3 General Concepts 2.5 2.6 Environment Description 2.6 2.4 Error Status Values 2.7 2.8 Numerical Limits 2.8 2.9 Configuration Names 2.9 2.7 Language-Binding Requirements and Guidelines 3 3 Process Primitives 3.1 [Introduction] 3.2 3.1 Process Creation and Execution (fork, exec, wait...) 3.3 [Management of Self] (_exec, abort) 3.4 4.1 Process Identification (getpid, getppid) 3.5 4.2,9 User Identification ([gs]et[ug]id, getgroups, getlogin, getpwnam, ...) 3.6 [Process-wide File and Directory Status] (chdir, getcwd, umask) 3.7 3.4 Timer Operations (alarm, sleep) 3.8 4.5 Time (time) 4 [Coordination Between Processes] 4.1 [Introduction] 4.2 4.6 Environment Variables (getenv) 4.3 3.3 Signals (kill, sig*...) 5 [Process Group and Session Management] 5.1 [Introduction] 5.2 7.1.1.2 [Terminal Process Groups] 5.3 7.1.1.3 The Controlling Terminal 6 [System Status and Characteristics] 6.1 [Introduction] 6.2 4.4 System Identification (uname) 6.3 4.8 Configurable System Variables (sysconf) 7 Files and Directories 7.1 [Introduction] 7.2 5.7 Configurable Pathname Variables (pathconf) 7.3 5.3 General File Creation (open, close) 7.4 6.4 Input and Output (read, write, lseek) 7.5 6.5 Control Operations on Files (fcntl) 7.6 [File Namespace Management] (link, unlink, rename) 7.7 5.1 Directories (opendir, readdir, mkdir, rmdir ...) 7.8 5.6 File Characteristics (stat, access, chmod, chown, utime) 7.9 6.6 File Locking (fcntl) 7.10 5.4 Special File Creation (mkfifo) 8 Device- and Class-Specific Functions 8.1 [Introduction] 8.2 7.1 General Terminal Interface (7.1, tc* functions) -- 10 Data Interchange (deleted--moved to 9945-2 pax utility) A 8 Language-Specific Services (Normative) A.1 8.1 General Language-Specific Services A.2 8.2 Language-Specific Process Management Functions A.4 8.3 Language-Specific Input/Output Functions B A Bibliography C B Rationale and Notes D [Portability Considerations] (TSG-1 Annex) -- C Header Contents Samples (deleted--C-specific) -- D Profiles (deleted--replaced by Annex C and P1003.0) E E Sample National Profile NOTES: The titles in [brackets] are new clauses or renamed -1990 sections or clauses. All the of the [Introduction] clauses are to meet ITTF editorial requirements.