opensc/src/common
Frank Morgner 622b71970f add compat_report_rangecheckfailure.c to libcompat 2015-11-01 21:02:34 +01:00
..
ChangeLog.compat_getopt
LICENSE.compat_getopt
Makefile.am add compat_report_rangecheckfailure.c to libcompat 2015-11-01 21:02:34 +01:00
Makefile.mak win32: link OpenSSL statically again 2015-11-01 13:35:05 +01:00
README.compat_getopt
README.compat_strlcpy
compat_dummy.c
compat_getopt.3
compat_getopt.c honour HAVE_CONFIG_H 2015-04-22 23:55:33 +02:00
compat_getopt.h remove trailing whitespaces 2012-04-03 00:00:56 +02:00
compat_getopt.txt
compat_getopt_main.c fixed dereference before null check 2015-01-22 20:29:33 +01:00
compat_getpass.c honour HAVE_CONFIG_H 2015-04-22 23:55:33 +02:00
compat_getpass.h
compat_report_rangecheckfailure.c win32: link OpenSSL statically again 2015-11-01 13:35:05 +01:00
compat_strlcat.c honour HAVE_CONFIG_H 2015-04-22 23:55:33 +02:00
compat_strlcat.h strlcat(3) implementation 2010-08-18 13:42:26 +00:00
compat_strlcpy.3
compat_strlcpy.c honour HAVE_CONFIG_H 2015-04-22 23:55:33 +02:00
compat_strlcpy.h
libpkcs11.c Replace outdated address okir@lst.de -> okir@suse.de 2015-10-05 14:07:28 +02:00
libpkcs11.h core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
libscdl.c use _WIN32 instead of WIN32 2015-09-10 15:23:18 +02: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>