Каталог требований LSB Core 3.1

Требования для функции 'rewinddir'
StandardIDDescription
SUSv3rewinddir.01 The rewinddir() function shall reset the position of the directory stream to which dirp refers to the beginning of the directory.
SUSv3rewinddir.02 It shall also cause the directory stream to refer to the current state of the corresponding directory, as a call to opendir() would have done.
SUSv3app.rewinddir.03 If dirp does not refer to a directory stream, the effect is undefined
SUSv3app.rewinddir.04 After a call to the fork() function, either the parent or child (but not both) may continue processing the directory stream using readdir(), rewinddir(), or [XSI] seekdir().
SUSv3app.rewinddir.05 If both the parent and child processes use these functions, the result is undefined.
The text in the Description column of SUSv3 requirements is reproduced from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html