текущее расположение именованного потока каталогов (current location of a named directory stream)
Пролог (Prolog)
This manual page is part of the POSIX Programmer's Manual. The
Linux implementation of this interface may differ (consult the
corresponding Linux manual page for details of Linux behavior),
or the interface may not be implemented on Linux.
Имя (Name)
telldir — current location of a named directory stream
Синопсис (Synopsis)
#include <dirent.h>
long telldir(DIR *dirp);
Описание (Description)
The telldir() function shall obtain the current location
associated with the directory stream specified by dirp.
If the most recent operation on the directory stream was a
seekdir(), the directory position returned from the telldir()
shall be the same as that supplied as a loc argument for
seekdir().
Возвращаемое значение (Return value)
Upon successful completion, telldir() shall return the current
location of the specified directory stream.
Ошибки (Error)
No errors are defined.
The following sections are informative.
Примеры (Examples)
None.
Использование в приложениях (Application usage)
None.
Обоснование (Rationale)
None.
Будущие направления (Future directions)
None.
Смотри также (See also)
fdopendir(3p), readdir(3p), seekdir(3p)
The Base Definitions volume of POSIX.1‐2017, dirent.h(0p)