mailing list of musl libc
 help / color / mirror / code / Atom feed
8236749ec0ea66a486c18ebb828a8c424c4b7415 blob 352 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#include <stdlib.h>

extern void __libc_start_init(void);
extern void __init_libc(char **envp, char *pn);

int __libc_start_main(int (*main)(int,char **,char **), int argc, char **argv)
{
	char **envp = argv+argc+1;

	__init_libc(envp, argv[0]);
	__libc_start_init();

	/* Pass control to the application */
	exit(main(argc, argv, envp));
	return 0;
}
debug log:

solving 8236749e ...
found 8236749e in https://inbox.vuxu.org/musl/VI1PR0502MB3885AB4C92D5B2A5515436F0E7330@VI1PR0502MB3885.eurprd05.prod.outlook.com/
found 2d758af7 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 2d758af760b215aa42f61004938abb35132916f9	src/env/__libc_start_main.c

applying [1/1] https://inbox.vuxu.org/musl/VI1PR0502MB3885AB4C92D5B2A5515436F0E7330@VI1PR0502MB3885.eurprd05.prod.outlook.com/
diff --git a/src/env/__libc_start_main.c b/src/env/__libc_start_main.c
index 2d758af7..8236749e 100644

Checking patch src/env/__libc_start_main.c...
Applied patch src/env/__libc_start_main.c cleanly.

index at:
100644 8236749ec0ea66a486c18ebb828a8c424c4b7415	src/env/__libc_start_main.c

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).