Import unmodified NetBSD libc in trunk
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.
This commit is contained in:
18
lib/nbsd_libc/string/Lint_strncpy.c
Normal file
18
lib/nbsd_libc/string/Lint_strncpy.c
Normal file
@@ -0,0 +1,18 @@
|
||||
/* $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);
|
||||
}
|
||||
Reference in New Issue
Block a user