mailing list of musl libc
 help / color / mirror / code / Atom feed
986e796f68452d284f76e9c79dbf2128770bb9a9 blob 260 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#include <stdlib.h>
#include <string.h>
#include "locale_impl.h"

locale_t newlocale(int mask, const char *name, locale_t base)
{
	if (*name && strcmp(name, "C") && strcmp(name, "POSIX"))
		return 0;
	if (!base) base = calloc(1, sizeof *base);
	return base;
}
debug log:

solving 986e796 ...
found 986e796 in https://git.vuxu.org/mirror/musl/

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