View Issue Details

IDProjectCategoryView StatusLast Update
00012031003.1(2016/18)/Issue7+TC2System Interfacespublic2024-06-11 09:08
Reporterdennisw Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted 
NameDennis Wölfing
Organization
User Reference
Sectionfcntl
Page Number823
Line Number27901, 27906
Interp Status---
Final Accepted Text
Summary0001203: fcntl return value inconsistent wording
DescriptionThe standard should use the word "shall" instead of "is" or "will" to describe the return value of the fcntl function.
Desired ActionOn page 823 line 27901 section fcntl change
Value of file status flags and access modes. The return value is not negative.
to
Value of file status flags and access modes. The return value shall not be negative.

On page 823 line 27906 section fcntl change
Value of the socket owner process or process group; this will not be -1.
to
Value of the socket owner process or process group; this shall not be -1.

Tagstc3-2008

Activities

eblake

2019-03-22 21:17

manager   bugnote:0004345

Looking at this again, should the wording for <fcntl.h> on page 238 mention that the various flags that can be returned for F_GETFD and F_GETFL must have values that do not result in a negative integer? This would affect FD_CLOEXEC (line 8020), the status bits O_APPEND, O_DSYNC, O_NONBLOCK, O_RSYNC, O_SYNC (lines 8044-8050), and all of the components of O_ACCMODE (lines 8051-8064).

Issue History

Date Modified Username Field Change
2018-08-31 12:41 dennisw New Issue
2018-08-31 12:41 dennisw Name => Dennis Wölfing
2018-08-31 12:41 dennisw Section => fcntl
2018-08-31 12:41 dennisw Page Number => 823
2018-08-31 12:41 dennisw Line Number => 27901, 27906
2019-03-21 15:37 Don Cragun Interp Status => ---
2019-03-21 15:37 Don Cragun Status New => Resolved
2019-03-21 15:37 Don Cragun Resolution Open => Accepted
2019-03-21 15:37 Don Cragun Tag Attached: tc3-2008
2019-03-22 21:17 eblake Note Added: 0004345
2019-11-12 15:21 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed