mailing list of musl libc
 help / color / mirror / code / Atom feed
98ba01000134eb592f0ef800c4ba995b51482a46 blob 799 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
50
51
52
53
54
55
 
#ifndef _MALLOC_H
#define _MALLOC_H

#ifdef __cplusplus
extern "C" {
#endif

#define __NEED_size_t

#include <bits/alltypes.h>

void *malloc (size_t);
void *calloc (size_t, size_t);
void *realloc (void *, size_t);
void free (void *);
void *valloc (size_t);
void *memalign(size_t, size_t);

size_t malloc_usable_size(void *);

struct mallinfo {
  int arena;
  int ordblks;
  int smblks;
  int hblks;
  int hblkhd;
  int usmblks;
  int fsmblks;
  int uordblks;
  int fordblks;
  int keepcost;
};

struct mallinfo mallinfo(void);

struct mallinfo2 {
  size_t arena;
  size_t ordblks;
  size_t smblks;
  size_t hblks;
  size_t hblkhd;
  size_t usmblks;
  size_t fsmblks;
  size_t uordblks;
  size_t fordblks;
  size_t keepcost;
};

struct mallinfo2 mallinfo2(void);

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving 98ba0100 ...
found 98ba0100 in https://inbox.vuxu.org/musl/20220107195530.1862460-1-ccross@google.com/ ||
	https://inbox.vuxu.org/musl/20220106203709.1525763-1-ccross@google.com/
found 35f8b19c in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 35f8b19c2c340d510c7aeaf4a5401b54acbc1d0b	include/malloc.h

applying [1/2] https://inbox.vuxu.org/musl/20220107195530.1862460-1-ccross@google.com/
diff --git a/include/malloc.h b/include/malloc.h
index 35f8b19c..98ba0100 100644

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

skipping https://inbox.vuxu.org/musl/20220106203709.1525763-1-ccross@google.com/ for 98ba0100
index at:
100644 98ba01000134eb592f0ef800c4ba995b51482a46	include/malloc.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).