void IDL_RPCStrDup(IDL_STRING *str, IDL_MEMINT n)
Use this function to duplicate a string. See the description of IDL_StrDup() in Copying Strings.