1N/A * Copyright (c) 2000-2001, 2003 Sendmail, Inc. and its suppliers. 1N/A * All rights reserved. 1N/A * By using this file, you agree to the terms and conditions set 1N/A * forth in the LICENSE file which can be found at the top level of 1N/A * the sendmail distribution. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A** SM_STRNDUP_X -- Duplicate a string of a given length 1N/A** Allocates memory and copies source string (of given length) into it. 1N/A** s -- string to copy. 1N/A** n -- length to copy. 1N/A** copy of string, raises exception if out of memory. 1N/A** allocate memory for new string. 1N/A** SM_STRDUP -- Duplicate a string 1N/A** Allocates memory and copies source string into it. 1N/A** s -- string to copy. 1N/A** copy of string, NULL if out of memory. 1N/A** allocate memory for new string. 1N/A** SM_STRDUP_X -- Duplicate a string 1N/A** Allocates memory and copies source string into it. 1N/A** s -- string to copy. 1N/A** copy of string, exception if out of memory. 1N/A** allocate memory for new string. 1N/A** SM_PSTRDUP_X -- Duplicate a string (using "permanent" memory) 1N/A** Allocates memory and copies source string into it. 1N/A** s -- string to copy. 1N/A** copy of string, exception if out of memory. 1N/A** allocate memory for new string. 1N/A** SM_STRDUP_X -- Duplicate a string 1N/A** Allocates memory and copies source string into it. 1N/A** s -- string to copy. 1N/A** file -- name of source file 1N/A** line -- line in source file 1N/A** group -- heap group 1N/A** copy of string, exception if out of memory. 1N/A** allocate memory for new string. 1N/A#
endif /* DO_NOT_USE_STRCPY */