opensc/src/common
Viktor Tarasov f641ebd248 fixed errors reported by cppcheck: part 1
partially applied the pull request #182 from Frank Morgner -- updated the common frameworks source files
2013-09-29 20:28:45 +02:00
..
ChangeLog.compat_getopt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
LICENSE.compat_getopt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
Makefile.am Use AM_CPPFLAGS instead of INCLUDES 2012-09-25 23:03:38 +02:00
Makefile.mak Remove libltdl: Remove ltld references 2012-03-17 20:55:05 +01:00
README.compat_getopt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
README.compat_strlcpy Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_dummy.c add a prototype for compat_dummy() 2008-05-22 12:14:39 +00:00
compat_getopt.3 Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_getopt.c remove trailing whitespaces 2012-04-03 00:00:56 +02:00
compat_getopt.h remove trailing whitespaces 2012-04-03 00:00:56 +02:00
compat_getopt.txt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_getopt_main.c remove trailing whitespaces 2012-04-03 00:00:56 +02:00
compat_getpass.c added getpass implementation for non windows 2013-09-29 19:19:17 +02:00
compat_getpass.h Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_strlcat.c compat_strlcat: Avoid compiler warning 'no newline at end of file' 2010-12-06 18:51:23 +00:00
compat_strlcat.h strlcat(3) implementation 2010-08-18 13:42:26 +00:00
compat_strlcpy.3 Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_strlcpy.c Header file cleanup. 2010-03-04 08:14:36 +00:00
compat_strlcpy.h Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
libpkcs11.c fixed errors reported by cppcheck: part 1 2013-09-29 20:28:45 +02:00
libpkcs11.h core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
libscdl.c Remove libltdl: Remove ltld references 2012-03-17 20:55:05 +01:00
libscdl.h Remove libltdl: Remove ltld references 2012-03-17 20:55:05 +01:00
simclist.c fixed errors reported by cppcheck: part 1 2013-09-29 20:28:45 +02:00
simclist.h remove trailing whitespaces 2012-04-03 00:00:56 +02:00

README.compat_strlcpy

strncpy() is unsafe since it does not always add a final NUL-byte.
OpenBSD developped a safer version called strlcpy().

Use "man -l strlcpy.3" to read the manpage.

The files strlcpy.3 and strlcpy.c comes from
  ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/
and are Copyright (c) 1998, 2000 Todd C. Miller
<Todd.Miller@courtesan.com>