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

개요

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

seekdir(3c)

Standard C Library Functions                                       seekdir(3C)



NAME
       seekdir - set position of directory stream

SYNOPSIS
       #include <sys/types.h>
       #include <dirent.h>

       void seekdir(DIR *dirp, long int loc);

DESCRIPTION
       The seekdir() function sets the position of the next readdir(3C) opera‐
       tion on the directory stream specified by dirp to the  position  speci‐
       fied by loc. The value of loc should have been returned from an earlier
       call to telldir(3C). The new position reverts  to  the  one  associated
       with the directory stream when telldir() was performed.


       If  the value of loc was not obtained from an earlier call to telldir()
       or if a call to rewinddir(3C) occurred between the call to telldir   ()
       and the call to seekdir(), the results of subsequent calls to readdir()
       are unspecified.

RETURN VALUES
       The seekdir() function returns no value.

ERRORS
       No errors are defined.

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),
       telldir(3C), attributes(7), standards(7)



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