summaryrefslogtreecommitdiff
path: root/lib/libc/string/Lint_strncpy.c
blob: 6966f6f94168a8f02de9f3aee1c5bc0036a5535b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}
f36e6949d407'>Add d_discard to all struct cdevsw instances I could find.dholland 2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland 2013-12-16apply __diagused where appropriate.mrg 2013-05-27Split IrDA SIR part for other SIR device.kiyohara 2011-07-26convert to device_t, cfdata_t and CFATTACH_DECL_NEW.mrg 2010-12-29module needs to devsw_attach/devsw_detachjmcneill 2010-12-28add "ir" and "cir" modulesjmcneill 2009-12-06Delete unnecessary device-activation hooks.dyoung 2009-05-12struct device * -> device_t, no functional changes intended.cegger 2009-05-12struct cfdata * -> cfdata_t, no functional changes intended.cegger 2009-01-11Avoid crash under LOCKDEBUG by destroying a mutex correctly.mlelstv 2009-01-11Register with pmf.mlelstv 2009-01-11merge christos-time_tchristos 2008-10-10Make cirpoll work.jmcneill 2008-10-10cirkqfilter is not implemented, so remove any references to it so thisjmcneill 2008-06-11use device_lookup_private to get softccegger 2008-06-10device_private(device_lookup()) -> device_lookup_private()cegger 2008-05-25Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()ad 2008-04-28Remove clause 3 and 4 from TNF licensesmartin 2008-04-08use aprint_*_dev and device_xnamecegger 2008-03-14Split device_t and softc for irframe(4).cube 2008-03-01Welcome to 4.99.55:rmind 2007-12-15__FUNCTION__ -> __func__perry 2007-12-05Do not "return 1" from kqfilter for errors. That value is passedpooka 2007-12-05lockmgr -> mutexad 2007-11-19- Factor out too many copies of the same bit of tty code.ad 2007-11-10Call ttyflush() with tty_lock held.ad 2007-11-07Merge tty changes from the vmlocking branch.ad 2007-07-09Merge some of the less invasive changes from the vmlocking branch:ad 2007-03-08In the pseudo-dev attach function, also try to register the struct cfdriverdrochner 2007-03-06clean up and fix irframe attachment as a line discipline:drochner 2007-03-06irframe is no interface attribute, so remove the "{}"drochner 2007-03-05replace the code which digs in the guts of autoconf. It is not obviousdrochner 2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos 2007-01-10Complete initialiser, avoid returning stack content as an error code and...cube 2007-01-09Comment out a trigraph in a #ifdef 0'd block. Kinda pointless, but allowscube