rs-libc 0.2.5

A subset of libc that can be used with Rust in freestanding environments.
Documentation
1
2
3
4
5
6
7
8
9
#include <string.h>

char *__stpncpy(char *, const char *, size_t);

char *strncpy(char *restrict d, const char *restrict s, size_t n)
{
	__stpncpy(d, s, n);
	return d;
}