mailing list of musl libc
 help / color / mirror / code / Atom feed
ce85deac4b5b60ce5a70fbad0decb1df5f701571 blob 830 bytes (raw)

 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 
#ifndef _FTW_H
#define	_FTW_H

#ifdef __cplusplus
extern "C" {
#endif

#include <features.h>
#include <sys/stat.h>

#define FTW_F   1
#define FTW_D   2
#define FTW_DNR 3
#define FTW_NS  4
#define FTW_SL  5
#define FTW_DP  6
#define FTW_SLN 7

#define FTW_PHYS  1
#define FTW_MOUNT 2
#define FTW_CHDIR 4
#define FTW_DEPTH 8

#ifdef _GNU_SOURCE
#define FTW_ACTIONRETVAL 16
#define FTW_CONTINUE 0
#define FTW_STOP 1
#define FTW_SKIP_SUBTREE 2
#define FTW_SKIP_SIBLINGS 3
#endif

struct FTW {
	int base;
	int level;
};

int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);

#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define ftw64 ftw
#define nftw64 nftw
#endif

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving ce85deac ...
found ce85deac in https://inbox.vuxu.org/musl/20200925091828.306644-1-Tony.Ambardar@gmail.com/
found b15c062a in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 b15c062a8389e3ea62d151ef417f9ad90945660e	include/ftw.h

applying [1/1] https://inbox.vuxu.org/musl/20200925091828.306644-1-Tony.Ambardar@gmail.com/
diff --git a/include/ftw.h b/include/ftw.h
index b15c062a..ce85deac 100644

Checking patch include/ftw.h...
Applied patch include/ftw.h cleanly.

index at:
100644 ce85deac4b5b60ce5a70fbad0decb1df5f701571	include/ftw.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).