/[gnats]/gnats/libiberty/xstrdup.c
ViewVC logotype

Diff of /gnats/libiberty/xstrdup.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pdm, Mon Dec 10 23:03:26 2001 UTC revision 1.4 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 2  Line 2 
2     This trivial function is in the public domain.     This trivial function is in the public domain.
3     Ian Lance Taylor, Cygnus Support, December 1995.  */     Ian Lance Taylor, Cygnus Support, December 1995.  */
4    
5    /*
6    
7    @deftypefn Replacement char* xstrdup (const char *@var{s})
8    
9    Duplicates a character string without fail, using @code{xmalloc} to
10    obtain memory.
11    
12    @end deftypefn
13    
14    */
15    
16  #include <sys/types.h>  #include <sys/types.h>
17  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
18  #include "config.h"  #include "config.h"

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26