diff options
author | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
commit | 39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch) | |
tree | b437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/strdup.c | |
parent | 4e6667ac4f987fecbcf576513c70485a4718712e (diff) | |
download | gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/strdup.c')
-rw-r--r-- | libiberty/strdup.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/strdup.c b/libiberty/strdup.c index 1785b34..a01cedf 100644 --- a/libiberty/strdup.c +++ b/libiberty/strdup.c @@ -1,3 +1,14 @@ +/* + +@deftypefn Supplemental char* strdup (const char *@var{s}) + +Returns a pointer to a copy of @var{s} in memory obtained from +@code{malloc}, or NULL if insufficient memory was available. + +@end deftypefn + +*/ + char * strdup(s) char *s; |