[GRASS-SVN] r33675 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 5 04:45:01 EDT 2008
Author: neteler
Date: 2008-10-05 04:45:01 -0400 (Sun, 05 Oct 2008)
New Revision: 33675
Modified:
grass/trunk/lib/gis/gislib.dox
Log:
G_strcpy, G_strncpy, G_strcat were removed
Modified: grass/trunk/lib/gis/gislib.dox
===================================================================
--- grass/trunk/lib/gis/gislib.dox 2008-10-05 08:12:55 UTC (rev 33674)
+++ grass/trunk/lib/gis/gislib.dox 2008-10-05 08:45:01 UTC (rev 33675)
@@ -2763,32 +2763,6 @@
Strings have the usual C meaning: a NULL terminated array of characters.
<P>
-These next 3 routines copy characters from one string to another.
-
-<P>
-char * G_strcpy(char *dst, char *src)copy strings
-
-Copies the <B>src</B> string to <B>dst</B> up to and including the
-NULL which terminates the <B>src</B> string. Returns <B>dst.</B>
-
-<P>
-char * G_strncpy(char *dst, char *src, int n) copy strings
-
-Copies at most <B>n</B> characters from the <B>src</B> string to
-<B>dst.</B> If <B>src</B> contains less than <B>n</B> characters, then
-only those characters are copied. A NULL byte is added at the end of
-<B>dst.</B> This implies that <B>dst</B> should be at least <B>n</B>+1
-bytes long. Returns <B>dst. Note.</B> This routine varies from the
-UNIX strncpy() in that G_strncpy() ensures that <B>dst</B> is NULL
-terminated, while strncpy() does not.
-
-<P>
-char * G_strcat(char *dst, char *src) concatenate strings
-
-Appends the <B>src</B> string to the end of the <B>dst</B> string,
-which is then NULL terminated. Returns <B>dst.</B>
-
-<P>
These next 3 routines remove unwanted white space from a single string.
<P>
More information about the grass-commit
mailing list