Austin Group Defect Tracker

Aardvark Mark III

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 2017-03-05 06:10
Reporter dannyniu View Status public  
Assigned To ajosey
Priority normal Resolution Open  
Status Under Review  
Name DannyNiu/NJF
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

There are no notes attached to this issue.

- 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

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