mailing list of musl libc
 help / color / mirror / code / Atom feed
12f5f69585ffa7edd34ce1f1abe92c8a7a8b1e4c blob 1000 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	_SYS_STATVFS_H
#define	_SYS_STATVFS_H

#ifdef __cplusplus
extern "C" {
#endif

#include <features.h>

#define __NEED_fsblkcnt_t
#define __NEED_fsfilcnt_t
#include <bits/alltypes.h>

struct statvfs {
	unsigned long f_bsize, f_frsize;
	fsblkcnt_t f_blocks, f_bfree, f_bavail;
	fsfilcnt_t f_files, f_ffree, f_favail;
#if __BYTE_ORDER == __LITTLE_ENDIAN
	unsigned long f_fsid;
	unsigned :8*(2*sizeof(int)-sizeof(long));
#else
	unsigned :8*(2*sizeof(int)-sizeof(long));
	unsigned long f_fsid;
#endif
	unsigned long f_flag, f_namemax;
	int __reserved[6];
};

int statvfs (const char *__restrict, struct statvfs *__restrict);
int fstatvfs (int, struct statvfs *);

#define ST_RDONLY 1
#define ST_NOSUID 2
#define ST_NODEV  4
#define ST_NOEXEC 8
#define ST_SYNCHRONOUS 16
#define ST_MANDLOCK    64
#define ST_WRITE       128
#define ST_APPEND      256
#define ST_IMMUTABLE   512
#define ST_NOATIME     1024
#define ST_NODIRATIME  2048
#define ST_RELATIME    4096

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving 12f5f695 ...
found 12f5f695 in https://inbox.vuxu.org/musl/20220927190853.GI9709@brightrain.aerifal.cx/
found 793490b6 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 793490b6dc8c171f00809bbf0412bb48e7e220fa	include/sys/statvfs.h

applying [1/1] https://inbox.vuxu.org/musl/20220927190853.GI9709@brightrain.aerifal.cx/
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
index 793490b6..12f5f695 100644

Checking patch include/sys/statvfs.h...
Applied patch include/sys/statvfs.h cleanly.

index at:
100644 12f5f69585ffa7edd34ce1f1abe92c8a7a8b1e4c	include/sys/statvfs.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).