mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 10:20:28 +00:00
- added strlcpy.c for strlcpy() and strlcat() replacement functions.
This commit is contained in:
parent
3c738ed46d
commit
60cf07c875
@ -9,14 +9,14 @@
|
|||||||
# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
||||||
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
||||||
#
|
#
|
||||||
# $Id: Makefile.am,v 1.4 2002/05/22 09:09:43 alex Exp $
|
# $Id: Makefile.am,v 1.5 2002/12/26 13:18:46 alex Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = ansi2knr
|
AUTOMAKE_OPTIONS = ansi2knr
|
||||||
|
|
||||||
noinst_LIBRARIES = libngportab.a
|
noinst_LIBRARIES = libngportab.a
|
||||||
|
|
||||||
libngportab_a_SOURCES = vsnprintf.c
|
libngportab_a_SOURCES = strlcpy.c vsnprintf.c
|
||||||
|
|
||||||
check_PROGRAMS = portabtest
|
check_PROGRAMS = portabtest
|
||||||
|
|
||||||
|
24
src/portab/strlcpy.c
Normal file
24
src/portab/strlcpy.c
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* ngIRCd -- The Next Generation IRC Daemon
|
||||||
|
* Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
* Please read the file COPYING, README and AUTHORS for more information.
|
||||||
|
*
|
||||||
|
* strlcpy() and strlcat() replacement functions
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "portab.h"
|
||||||
|
|
||||||
|
static char UNUSED id[] = "$Id: strlcpy.c,v 1.1 2002/12/26 13:18:46 alex Exp $";
|
||||||
|
|
||||||
|
#include "imp.h"
|
||||||
|
|
||||||
|
#include "exp.h"
|
||||||
|
|
||||||
|
|
||||||
|
/* -eof- */
|
Loading…
Reference in New Issue
Block a user