opensc/src/common
aj d22a2483c0 Header file cleanup.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4081 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-04 08:14:36 +00: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 Header file cleanup. 2010-03-04 08:14:36 +00:00
Makefile.mak Attached are the latest mode to OpenSC svn 3462 to use the Makefile.mak 2008-04-07 19:42:43 +00: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 Header file cleanup. 2010-03-04 08:14:36 +00:00
compat_getopt.h Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_getopt.txt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_getopt_main.c common/main.c is part of getopt package 2008-04-16 04:42:31 +00:00
compat_getpass.c Header file cleanup. 2010-03-04 08:14:36 +00:00
compat_getpass.h Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +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
simclist.c Add simclist, also used by pcsc-lite, for list operations. 2010-01-24 15:05:14 +00:00
simclist.h Add simclist, also used by pcsc-lite, for list operations. 2010-01-24 15:05:14 +00: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>