File: hssystemfileio-unix.h

package info (click to toggle)
haskell-system-fileio 0.3.16.4-6.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: haskell: 1,327; ansic: 155; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 549 bytes parent folder | download
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
26
27
28
29
30
#ifndef HSSYSTEMFILEIO_UNIX_H
#define HSSYSTEMFILEIO_UNIX_H

struct dirent;

struct dirent *
hssystemfileio_alloc_dirent(void *void_dir);

void
hssystemfileio_free_dirent(struct dirent *);

int
hssystemfileio_readdir(void *dir, struct dirent *dirent);

char *
hssystemfileio_dirent_name(struct dirent *dirent);

char *
hssystemfileio_getcwd(void);

int
hssystemfileio_isrealdir(const char *);

int
hssystemfileio_copy_permissions(const char *old_path, const char *new_path);

int
hssystemfileio_open_nonblocking(const char *path, int mode);

#endif