[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
4.19
SDDS_CopyString
name:
SDDS_CopyString
description:
Allocates and copies a string to a new location.
synopsis:
#include ”SDDS.h”
int32_t SDDS_CopyString(char **target, const char *source);
arguments:
target:
Address of a pointer that receives the copied string.
source:
String to copy; if NULL, target is set to NULL.
return value:
Returns 1 on success, 0 on memory allocation failure.
see also:
SDDS
_Realloc
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]