1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
/*
* Copyright (C) 1999-2001 by CERN/IT/PDP/DM
* All rights reserved
*/
#ifndef lint
static char sccsid[] = "@(#)$RCSfile: Cns_rewinddir.c,v $ $Revision: 1.1.1.1 $ $Date: 2001/05/13 05:48:43 $ CERN IT-PDP/DM Jean-Philippe Baud";
#endif /* not lint */
/* Cns_rewinddir - reset the position to the beginning of the directory */
#include <sys/types.h>
#include "Cns_api.h"
void DLL_DECL
Cns_rewinddir(Cns_DIR *dirp)
{
if (! dirp)
return;
dirp->bod = 1;
dirp->eod = 0;
dirp->dd_loc = 0;
dirp->dd_size = 0;
return;
}
|