mailing list of musl libc
 help / color / mirror / code / Atom feed
68ccd467665c674be2f68c8124eec30dff26be80 blob 5422 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
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
 
#ifndef __STDC_VERSION_STDLIB_H__
#define __STDC_VERSION_STDLIB_H__ 202304L

#ifdef __cplusplus
extern "C" {
#endif

#include <features.h>

#if __cplusplus >= 201103L
#define NULL nullptr
#elif defined(__cplusplus)
#define NULL 0L
#else
#define NULL ((void*)0)
#endif

#define __NEED_size_t
#define __NEED_wchar_t

#include <bits/alltypes.h>

int atoi (const char *);
long atol (const char *);
long long atoll (const char *);
double atof (const char *);

float strtof (const char *__restrict, char **__restrict);
double strtod (const char *__restrict, char **__restrict);
long double strtold (const char *__restrict, char **__restrict);

int strfromd(char *restrict, size_t, const char *restrict, double);
int strfromf(char *restrict, size_t, const char *restrict, float);
int strfroml(char *restrict, size_t, const char *restrict, long double);

long strtol (const char *__restrict, char **__restrict, int);
unsigned long strtoul (const char *__restrict, char **__restrict, int);
long long strtoll (const char *__restrict, char **__restrict, int);
unsigned long long strtoull (const char *__restrict, char **__restrict, int);

int rand (void);
void srand (unsigned);

void *malloc (size_t);
void *calloc (size_t, size_t);
void *realloc (void *, size_t);
void free (void *);
void free_sized (void *, size_t);
void free_aligned_sized (void *, size_t, size_t);
void *aligned_alloc(size_t, size_t);

__noreturn void abort (void);
int atexit (void (*) (void));
__noreturn void exit (int);
__noreturn void _Exit (int);
int at_quick_exit (void (*) (void));
__noreturn void quick_exit (int);

char *getenv (const char *);

int system (const char *);

void *bsearch (const void *, const void *, size_t, size_t, int (*)(const void *, const void *));
void qsort (void *, size_t, size_t, int (*)(const void *, const void *));

int abs (int);
long labs (long);
long long llabs (long long);

typedef struct { int quot, rem; } div_t;
typedef struct { long quot, rem; } ldiv_t;
typedef struct { long long quot, rem; } lldiv_t;

div_t div (int, int);
ldiv_t ldiv (long, long);
lldiv_t lldiv (long long, long long);

int mblen (const char *, size_t);
int mbtowc (wchar_t *__restrict, const char *__restrict, size_t);
int wctomb (char *, wchar_t);
size_t mbstowcs (wchar_t *__restrict, const char *__restrict, size_t);
size_t wcstombs (char *__restrict, const wchar_t *__restrict, size_t);

#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0

size_t __ctype_get_mb_cur_max(void);
#define MB_CUR_MAX (__ctype_get_mb_cur_max())

#define RAND_MAX (0x7fffffff)


#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
 || defined(_BSD_SOURCE)

#define WNOHANG    1
#define WUNTRACED  2

#define WEXITSTATUS(s) (((s) & 0xff00) >> 8)
#define WTERMSIG(s) ((s) & 0x7f)
#define WSTOPSIG(s) WEXITSTATUS(s)
#define WIFEXITED(s) (!WTERMSIG(s))
#define WIFSTOPPED(s) ((short)((((s)&0xffff)*0x10001U)>>8) > 0x7f00)
#define WIFSIGNALED(s) (((s)&0xffff)-1U < 0xffu)

int posix_memalign (void **, size_t, size_t);
int setenv (const char *, const char *, int);
int unsetenv (const char *);
int mkstemp (char *);
int mkostemp (char *, int);
char *mkdtemp (char *);
int getsubopt (char **, char *const *, char **);
int rand_r (unsigned *);

#endif


#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
 || defined(_BSD_SOURCE)
char *realpath (const char *__restrict, char *__restrict);
long int random (void);
void srandom (unsigned int);
char *initstate (unsigned int, char *, size_t);
char *setstate (char *);
int putenv (char *);
int posix_openpt (int);
int grantpt (int);
int unlockpt (int);
char *ptsname (int);
char *l64a (long);
long a64l (const char *);
void setkey (const char *);
double drand48 (void);
double erand48 (unsigned short [3]);
long int lrand48 (void);
long int nrand48 (unsigned short [3]);
long mrand48 (void);
long jrand48 (unsigned short [3]);
void srand48 (long);
unsigned short *seed48 (unsigned short [3]);
void lcong48 (unsigned short [7]);
#endif

#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#include <alloca.h>
char *mktemp (char *);
int mkstemps (char *, int);
int mkostemps (char *, int, int);
void *valloc (size_t);
void *memalign(size_t, size_t);
int getloadavg(double *, int);
int clearenv(void);
#define WCOREDUMP(s) ((s) & 0x80)
#define WIFCONTINUED(s) ((s) == 0xffff)
void *reallocarray (void *, size_t, size_t);
void qsort_r (void *, size_t, size_t, int (*)(const void *, const void *, void *), void *);
#endif

#ifdef _GNU_SOURCE
int ptsname_r(int, char *, size_t);
char *ecvt(double, int, int *, int *);
char *fcvt(double, int, int *, int *);
char *gcvt(double, int, char *);
char *secure_getenv(const char *);
struct __locale_struct;
float strtof_l(const char *__restrict, char **__restrict, struct __locale_struct *);
double strtod_l(const char *__restrict, char **__restrict, struct __locale_struct *);
long double strtold_l(const char *__restrict, char **__restrict, struct __locale_struct *);
#endif

#if defined(_LARGEFILE64_SOURCE)
#define mkstemp64 mkstemp
#define mkostemp64 mkostemp
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define mkstemps64 mkstemps
#define mkostemps64 mkostemps
#endif
#endif

#define ONCE_FLAG_INIT 0
typedef int once_flag;
void call_once(once_flag *, void (*)(void));

size_t (memalignment)(const void *);
#define memalignment(P) (((size_t)1)<<__builtin_ctzll((unsigned long long)P))

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving 68ccd467 ...
found 68ccd467 in https://inbox.vuxu.org/musl/4454e35d767027ea77cf91c07c6d4b22384d3846.1684932892.git.Jens.Gustedt@inria.fr/
found 43173e95 in https://inbox.vuxu.org/musl/e27bd34041b55e888d091bdeb65ab95c31f0b0cb.1684932892.git.Jens.Gustedt@inria.fr/
found 68993c04 in https://inbox.vuxu.org/musl/1fe28ea2525f112264a1a819d8ce50a97504ab8b.1684932892.git.Jens.Gustedt@inria.fr/
found 7800074d in https://inbox.vuxu.org/musl/e540f128a8d94f3ff64d5aed8021c83cc6e5f26e.1684932892.git.Jens.Gustedt@inria.fr/
found 8a873f03 in https://inbox.vuxu.org/musl/ff93253a629db6061363f4e1f2801601f8624e0d.1684932861.git.Jens.Gustedt@inria.fr/
found c635d99b in https://inbox.vuxu.org/musl/4ce3bedd2525d07509e9514d4b8274b4470878bb.1684932861.git.Jens.Gustedt@inria.fr/
found 475190bf in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 475190bfa2c9fee8b2d482fb492f28af35e05a8e	include/stdlib.h

applying [1/6] https://inbox.vuxu.org/musl/4ce3bedd2525d07509e9514d4b8274b4470878bb.1684932861.git.Jens.Gustedt@inria.fr/
diff --git a/include/stdlib.h b/include/stdlib.h
index 475190bf..c635d99b 100644


applying [2/6] https://inbox.vuxu.org/musl/ff93253a629db6061363f4e1f2801601f8624e0d.1684932861.git.Jens.Gustedt@inria.fr/
diff --git a/include/stdlib.h b/include/stdlib.h
index c635d99b..8a873f03 100644


applying [3/6] https://inbox.vuxu.org/musl/e540f128a8d94f3ff64d5aed8021c83cc6e5f26e.1684932892.git.Jens.Gustedt@inria.fr/
diff --git a/include/stdlib.h b/include/stdlib.h
index 8a873f03..7800074d 100644


applying [4/6] https://inbox.vuxu.org/musl/1fe28ea2525f112264a1a819d8ce50a97504ab8b.1684932892.git.Jens.Gustedt@inria.fr/
diff --git a/include/stdlib.h b/include/stdlib.h
index 7800074d..68993c04 100644


applying [5/6] https://inbox.vuxu.org/musl/e27bd34041b55e888d091bdeb65ab95c31f0b0cb.1684932892.git.Jens.Gustedt@inria.fr/
diff --git a/include/stdlib.h b/include/stdlib.h
index 68993c04..43173e95 100644


applying [6/6] https://inbox.vuxu.org/musl/4454e35d767027ea77cf91c07c6d4b22384d3846.1684932892.git.Jens.Gustedt@inria.fr/
diff --git a/include/stdlib.h b/include/stdlib.h
index 43173e95..68ccd467 100644

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

index at:
100644 68ccd467665c674be2f68c8124eec30dff26be80	include/stdlib.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).