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

# dpns\_rewinddir(3)

reset position to the beginning of a DPNS directory opened by dpns\_opendir in the name server

## NAME

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

## SYNOPSIS

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

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

## DESCRIPTION

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

- *dirp*

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

## SEE ALSO

**[dpns\_closedir(3)](/dpns_closedir/3.md)**, **[dpns\_opendir(3)](/dpns_opendir/3.md)**, **[dpns\_readdir(3)](/dpns_readdir/3.md), [dpns\_readdirx(3)](/dpns_readdirx/3.md)**

## AUTHOR

**LCG Grid Deployment** Team
