diff options
| author | Alexander Barton <alex@barton.de> | 2002-12-26 13:18:46 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-12-26 13:18:46 +0000 |
| commit | 60cf07c8754c9291527fde2791e6353da7674d8c (patch) | |
| tree | 359d2b705f3c775d9b67b775fa8c2245c5b5677b /src/portab/strlcpy.c | |
| parent | 3c738ed46d1116553813261d2025ec2957a7662d (diff) | |
| download | ngircd-60cf07c8754c9291527fde2791e6353da7674d8c.tar.gz ngircd-60cf07c8754c9291527fde2791e6353da7674d8c.zip | |
- added strlcpy.c for strlcpy() and strlcat() replacement functions.
Diffstat (limited to 'src/portab/strlcpy.c')
| -rw-r--r-- | src/portab/strlcpy.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/portab/strlcpy.c b/src/portab/strlcpy.c new file mode 100644 index 00000000..40992c08 --- /dev/null +++ b/src/portab/strlcpy.c @@ -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- */ |