Copyright 1993 David Metcalfe (email@example.com) %%%LICENSE_START(VERBATIM) Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Sin...
NAMEseekdir - set the position of the next readdir() call in the directory stream.
#include <dirent.h> void seekdir(DIR *dirp, long loc);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
seekdir(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
DESCRIPTIONThe 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).
RETURN VALUEThe seekdir() function returns no value.
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7).