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
0001160 [1003.1(2008)/Issue 7] System Interfaces Editorial Clarification Requested 2017-09-03 00:40 2019-01-24 16:13
Reporter Paul Gilmartin View Status public  
Assigned To ajosey
Priority normal Resolution Rejected  
Status Closed  
Name Paul Gilmartin
Organization
User Reference
Section System Interfaces: read(): Errors
Page Number read() ERRORS
Line Number 5-7
Interp Status ---
Final Accepted Text
Summary 0001160: Condition for EAGAIN inverted.
Description I read under read():
ERRORS

    These functions shall fail if:

    [EAGAIN]
        The file is neither a pipe, nor a FIFO, nor a socket, the O_NONBLOCK flag is set for the file descriptor, and the thread would be delayed in the read operation.

Doesn't make sense. Documentation for several other UNIX-y systems
says such as "is either a pipe, a FIFO, or a socket, ..."
Desired Action Change "is neither a pipe, nor a FIFO, nor a socket, ..." to
"is either a pipe, a FIFO, or a socket, ..."

(Should this apply also to a TTY?)

Thanks,
gil
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0003853)
geoffclare (manager)
2017-09-11 15:20

The current text is correct. "These functions" includes pread() which fails with ESPIPE not EAGAIN. Further down there is another EAGAIN that is just for read().

- Issue History
Date Modified Username Field Change
2017-09-03 00:40 Paul Gilmartin New Issue
2017-09-03 00:40 Paul Gilmartin Status New => Under Review
2017-09-03 00:40 Paul Gilmartin Assigned To => ajosey
2017-09-03 00:40 Paul Gilmartin Name => Paul Gilmartin
2017-09-03 00:40 Paul Gilmartin Section => System Interfaces: read(): Errors
2017-09-03 00:40 Paul Gilmartin Page Number => read() ERRORS
2017-09-03 00:40 Paul Gilmartin Line Number => 5-7
2017-09-11 15:20 geoffclare Note Added: 0003853
2019-01-24 16:13 Don Cragun Interp Status => ---
2019-01-24 16:13 Don Cragun Resolution Open => Rejected
2019-01-24 16:13 Don Cragun Status Under Review => Closed


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