This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
18 lines
281 B
C
18 lines
281 B
C
/* $NetBSD: Lint_strncpy.c,v 1.1 1997/12/07 00:24:58 matthias Exp $ */
|
|
|
|
/*
|
|
* This file placed in the public domain.
|
|
* Matthias Pfaller, December 5, 1997.
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
/*ARGSUSED*/
|
|
char *
|
|
strncpy(dst, src, n)
|
|
char *dst;
|
|
const char *src;
|
|
size_t n;
|
|
{
|
|
return (0);
|
|
}
|