Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001124 [1003.1(2008)/Issue 7] System Interfaces Editorial Enhancement Request 2017-03-05 02:46 2018-08-16 15:49
Reporter dannyniu View Status public  
Assigned To ajosey
Priority normal Resolution Rejected  
Status Closed  
Name DannyNiu/NJF
Organization
User Reference
Section System Interfaces - write()
Page Number Informative section
Line Number Rationales
Interp Status ---
Final Accepted Text
Summary 0001124: Mention different IO semantics of pipe and FIFO.
Description In the rationale section for the write() function, we've taken note of the fact that, some systems allows a write of length zero to indicate end-of-file to the other end of a pipe.

In my opinion, this feature is the by-product of some systems using the message-nondiscard IO semantics for pipe, such as 8th edition we've noted in the text. And I think it's reasonable, that we further note such semantics, by mentioning on such systems, read() from a pipe, will return the content of at most one write() call.
Desired Action Add to after the text:

Also, some existing systems ... permit a write of zero bytes ... indicates a successful write of an end-of-file indication.

The following:

On such systems, a read() from a pipe or a FIFO, may return at most the content of one write() call. Applications should not assume the system would provide either semantics unless otherwise configured through implementation-defined method.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0004083)
Don Cragun (manager)
2018-08-16 15:48

This behavior was provided by UNIX Version 8 for pipes only and is a documented feature of STREAMS devices running in message nondiscard mode. STREAMS processing in POSIX has been made obsolescent and is expected to be removed from a future version of the standard. Therefore, this change request is rejected.

- Issue History
Date Modified Username Field Change
2017-03-05 02:46 dannyniu New Issue
2017-03-05 02:46 dannyniu Status New => Under Review
2017-03-05 02:46 dannyniu Assigned To => ajosey
2017-03-05 02:46 dannyniu Name => DannyNiu/NJF
2017-03-05 02:46 dannyniu Section => System Interfaces - write()
2017-03-05 02:46 dannyniu Page Number => Informative section
2017-03-05 02:46 dannyniu Line Number => Rationales
2017-03-05 06:10 dannyniu Desired Action Updated
2018-08-16 15:48 Don Cragun Note Added: 0004083
2018-08-16 15:49 Don Cragun Interp Status => ---
2018-08-16 15:49 Don Cragun Status Under Review => Closed
2018-08-16 15:49 Don Cragun Resolution Open => Rejected


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker