Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001350 |
[Issue 8 drafts] Base Definitions and Headers |
Objection |
Error |
2020-06-26 15:57 |
2024-06-11 09:12 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Closed |
|
Product Version |
Draft 1 |
|
Name |
Geoff Clare |
Organization |
The Open Group |
User Reference |
|
Section |
<stdlib.h> |
Page Number |
351 |
Line Number |
12251 |
Final Accepted Text |
|
|
Summary |
0001350: O_* constants needed in <stdlib.h> for mkostemp() |
Description |
This line:The <stdlib.h> header shall define O_CLOEXEC, O_NOCTTY, and O_RDWR as described in <fcntl.h>. was added by bug 0000593 with XSI shading because posix_openpt() is XSI.
However, O_CLOEXEC is also needed by mkostemp() which is mandatory. Several other constants are also needed by mkostemp().
|
Desired Action |
On page 351 line 12251 section <stdlib.h>, change:[XSI]The <stdlib.h> header shall define O_CLOEXEC, O_NOCTTY, and O_RDWR as described in <fcntl.h>.[/XSI] to:The <stdlib.h> header shall define the following symbolic constants as described in <fcntl.h>:
O_APPEND
O_CLOEXEC
O_CLOFORK
[SIO]O_DSYNC[/SIO]
[XSI]O_NOCTTY
O_RDWR[/XSI]
[SIO]O_RSYNC[/SIO]
O_SYNC
On page 1283 line 43031 section mkdtemp(), change:contain additional flags (from <fcntl.h>) to be used to:contain additional flags to be used |
Tags |
issue8 |
|
Attached Files |
|
|