A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=697 ====================================================================== Reported By: steffen Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 697 Category: System Interfaces Type: Clarification Requested Severity: Comment Priority: normal Status: New Name: Steffen Nurpmeso Organization: User Reference: Section: none Page Number: none Line Number: none Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2013-05-15 10:31 UTC Last Modified: 2020-10-02 09:11 UTC ====================================================================== Summary: Adding of a getdirentries() function ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0000696 either NAME_MAX shouldn't be optional, ... ======================================================================
---------------------------------------------------------------------- (0005016) geoffclare (manager) - 2020-10-02 09:11 https://austingroupbugs.net/view.php?id=697#c5016 ---------------------------------------------------------------------- https://austingroupbugs.net/view.php?id=697#c4947 has been updated with changes agreed in the Oct 1st teleconference. Notable changes are: Return type of posix_getdents() is now ssize_t (to match read()) and <dirent.h> is required to define that type. The last entry in buf must have a d_reclen that includes any needed padding for alignment. (So applications can grow the buffer and append to it without needing to do an alignment calculation.) The wording of the condition for d_type not being DT_UNKNOWN is now "if the file type can be determined without needing to use the file serial number to obtain the file's metadata". Added a paragraph about concurrent file operations. Knock-on effects of d_name[] possibly being a flexible array member, where the size of the structure is mentioned and in the first para of APPLICATION USAGE. Added a paragraph to RATIONALE about posix_getdents() not being allowed to return directory entry structures for deleted directory entries. Issue History Date Modified Username Field Change ====================================================================== 2013-05-15 10:31 steffen New Issue 2013-05-15 10:31 steffen Name => Steffen Nurpmeso 2013-05-15 10:31 steffen Section => none 2013-05-15 10:31 steffen Page Number => none 2013-05-15 10:31 steffen Line Number => none 2013-05-15 22:08 jilles Note Added: 0001607 2013-05-16 10:22 steffen Note Added: 0001608 2013-05-30 15:37 eblake Relationship added related to 0000696 2013-05-30 15:57 geoffclare Note Added: 0001629 2014-03-30 00:33 sstewartgallus Issue Monitored: sstewartgallus 2020-08-28 08:21 geoffclare Note Added: 0004947 2020-08-28 08:27 geoffclare Note Edited: 0004947 2020-08-28 17:07 shware_systems Note Added: 0004948 2020-08-28 17:52 kre Note Added: 0004949 2020-08-28 22:42 philip-guentherNote Added: 0004952 2020-08-28 22:52 philip-guentherNote Added: 0004953 2020-08-29 11:34 shware_systems Note Added: 0004955 2020-08-29 11:34 shware_systems Note Added: 0004956 2020-08-29 11:41 shware_systems Note Edited: 0004956 2020-08-29 11:44 shware_systems Note Deleted: 0004955 2020-08-29 13:07 shware_systems Note Added: 0004957 2020-08-29 13:11 shware_systems Note Edited: 0004957 2020-08-30 23:06 philip-guentherNote Added: 0004958 2020-08-30 23:11 philip-guentherNote Added: 0004959 2020-08-30 23:44 shware_systems Note Added: 0004960 2020-10-02 09:00 geoffclare Note Edited: 0004947 2020-10-02 09:11 geoffclare Note Added: 0005016 ======================================================================