From 5f994206b9af6c8cc5bca872880dc18a9f73d0c4 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Fri, 9 Nov 2012 01:38:43 +0100 Subject: Add Makefile --- document.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'document.asciidoc') diff --git a/document.asciidoc b/document.asciidoc index fc5df0e..7cc409d 100644 --- a/document.asciidoc +++ b/document.asciidoc @@ -49,6 +49,12 @@ Um dieses Problem zu loesen wurden neue Zeichenkettenfuntkionen in die Standard-C-Bibliothek auf genommen, welche als Argument maximal Laengen uebergeben bekommen. +------------------- +strcpy(char *dst, const char *src); +strncpy(char *dst, const char *src, size_t len); +strlcpy(char *dst, const char *src, size_t dstsize); +------------------- + Hierbei gibt es zwei ansaetze mit Laengen umzugehen. TODO: strncpy() strlcpy() -- cgit