Provided by: manpages-pt-br-dev_4.13-4_all bug

NOME

       seekdir - define a posição da próxima chamada a readdir() no fluxo de diretórios.

SINOPSE

       #include <dirent.h>

       void seekdir(DIR *dirp, long loc);

   Requisitos de macro de teste de recursos para o glibc (consulte feature_test_macros(7)):

       seekdir():
        _XOPEN_SOURCE
           || /* Glibc since 2.19: */ _DEFAULT_SOURCE
           || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE

DESCRIÇÃO

       The  seekdir()   function  sets the location in the directory stream from which the next readdir(2)  call
       will start.  The loc argument should be a value returned by a previous call to telldir(3).

VALOR DE RETORNO

       The seekdir()  function returns no value.

ATRIBUTOS

       Para uma explicação dos termos usados nesta seção, consulte attributes(7).
       ┌───────────┬───────────────┬─────────┐
       │ InterfaceAtributoValor   │
       ├───────────┼───────────────┼─────────┤
       │ seekdir() │ Thread safety │ MT-Safe │
       └───────────┴───────────────┴─────────┘

DE ACORDO COM

       POSIX.1-2001, POSIX.1-2008, 4.3BSD.

NOTAS

       In glibc up to version 2.1.1, the type of the loc argument was off_t.  POSIX.1-2001 specifies  long,  and
       this is the type used since glibc 2.1.2.  See telldir(3)  for information on why you should be careful in
       making any assumptions about the value in this argument.

VEJA TAMBÉM

       lseek(2), closedir(3), opendir(3), readdir(3), rewinddir(3), scandir(3), telldir(3)

COLOFÃO

       Esta  página  faz  parte da versão 5.10 do projeto Linux man-pages. Uma descrição do projeto, informações
       sobre  relatórios  de  bugs  e  a  versão  mais  recente  desta   página   podem   ser   encontradas   em
       https://www.kernel.org/doc/man-pages/.

TRADUÇÃO

       A tradução para português brasileiro desta página man foi criada por E. A. Tacão <tacao@conectiva.com.br>
       e André Luiz Fassone <lonely_wolf@ig.com.br>

       Esta  tradução  é  uma documentação livre; leia a Licença Pública Geral GNU Versão 3 ou posterior para as
       condições de direitos autorais.  Nenhuma responsabilidade é aceita.

       Se você encontrar algum erro na tradução  desta  página  de  manual,  envie  um  e-mail  para  a lista de
       discussão de tradutores.

                                                  15 março 2016                                       SEEKDIR(3)