telldir(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

telldir(3c)

Standard C Library Functions                                       telldir(3C)



NAME
       telldir - current location of a named directory stream

SYNOPSIS
       #include <dirent.h>

       long int telldir(DIR *dirp);

DESCRIPTION
       The telldir() function obtains the current location associated with the
       directory stream specified by dirp.


       If the most recent operation on the directory stream was a seekdir(3C),
       the  directory position returned from the telldir() is the same as that
       supplied as a loc argument for seekdir().

RETURN VALUES
       Upon successful completion, telldir() returns the current  location  of
       the specified directory stream.

ERRORS
       The telldir() function will fail if:

       EOVERFLOW    The  current location of the directory cannot be stored in
                    an object of type long.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelSafe _ Standard‐
       See standards(7).


SEE ALSO
       closedir(3C),  dirfd(3C),  opendir(3C),   readdir(3C),   rewinddir(3C),
       seekdir(3C), attributes(7), standards(7)



Oracle Solaris 11.4               15 May 2014                      telldir(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3