---
name: "lfc_rewinddir"
section: "3"
platform: "linux"
package: "liblfc-dev"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/lfc_rewinddir"
---

# lfc\_rewinddir(3)

reset position to the beginning of a LFC directory opened by lfc\_opendir in the name server

## NAME

lfc\_rewinddir - reset position to the beginning of a LFC directory opened by **lfc\_opendir** in the name server

## SYNOPSIS

**#include \<sys/types.h\>**\
 **#include "lfc\_api.h"**

**void lfc\_rewinddir (lfc\_DIR \****dirp***)**

## DESCRIPTION

**lfc\_rewinddir** resets the position to the beginning of a LFC directory opened by **lfc\_opendir** in the name server.

- *dirp*

  specifies the pointer value returned by **lfc\_opendir**.

## SEE ALSO

**[lfc\_closedir(3)](/lfc_closedir/3.md)**, **[lfc\_opendirg(3)](/lfc_opendirg/3.md)**, **[lfc\_readdir(3)](/lfc_readdir/3.md), [lfc\_readdirg(3)](/lfc_readdirg/3.md)**

## AUTHOR

**LCG Grid Deployment** Team
