summaryrefslogtreecommitdiff
path: root/nacl/dirent.h
blob: 31bdad31b75de86aa8eb951f5659035f1daeb34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright 2011 Google Inc. All Rights Reserved.
 * Author: yugui@google.com (Yugui Sonoda)
 */
#ifndef RUBY_NACL_DIRENT_H
#define RUBY_NACL_DIRENT_H

/* NaCl SDK 0.3 has implementations of dir functions but no declaration in
 * dirent.h */
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
void rewinddir(DIR *dirp);
long telldir(DIR *dirp);
void seekdir(DIR *dirp, long offset);

#endif