From 6b36c7ab225c4619dcb5ac33c34813a66277457e Mon Sep 17 00:00:00 2001
From: Miodrag Milanovic
Date: Sat, 11 Apr 2015 15:26:58 +0200
Subject: [PATCH] cstr() - > c_str() as preparation for move to std::string
(nw)
---
src/emu/addrmap.c | 2 +-
src/emu/bus/a7800/a78_slot.c | 6 +-
src/emu/bus/gba/gba_slot.c | 4 +-
src/emu/bus/intv/slot.c | 4 +-
src/emu/bus/megadrive/md_slot.c | 4 +-
src/emu/bus/msx_slot/cartridge.c | 2 +-
src/emu/bus/nes/nes_ines.inc | 2 +-
src/emu/cheat.c | 16 +--
src/emu/clifront.c | 40 +++---
src/emu/cpu/drcbex64.c | 4 +-
src/emu/cpu/drcbex86.c | 4 +-
src/emu/cpu/drcuml.c | 6 +-
src/emu/cpu/dsp16/dsp16.c | 6 +-
src/emu/cpu/dsp16/dsp16dis.c | 44 +++---
src/emu/cpu/dsp56k/dsp56dsm.c | 2 +-
src/emu/cpu/dsp56k/inst.h | 8 +-
src/emu/cpu/dsp56k/pmove.h | 8 +-
src/emu/cpu/dsp56k/tables.c | 8 +-
src/emu/cpu/mcs96/mcs96.c | 66 ++++-----
src/emu/cpu/score/score.c | 6 +-
src/emu/cpu/uml.c | 2 +-
src/emu/debug/debugcmd.c | 16 +--
src/emu/debug/debugcpu.c | 4 +-
src/emu/debug/dvbpoints.c | 4 +-
src/emu/debug/dvstate.c | 4 +-
src/emu/debug/dvwpoints.c | 4 +-
src/emu/debug/express.c | 16 +--
src/emu/digfx.c | 2 +-
src/emu/diimage.c | 22 +--
src/emu/disound.c | 10 +-
src/emu/emuopts.c | 6 +-
src/emu/emupal.c | 2 +-
src/emu/fileio.c | 6 +-
src/emu/image.c | 6 +-
src/emu/imagedev/cassette.c | 2 +-
src/emu/imagedev/diablo.c | 8 +-
src/emu/imagedev/harddriv.c | 8 +-
src/emu/info.c | 18 +--
src/emu/input.c | 12 +-
src/emu/ioport.c | 6 +-
src/emu/luaengine.c | 2 +-
src/emu/machine.c | 8 +-
src/emu/machine/fdc_pll.c | 2 +-
src/emu/machine/hdc9234.c | 80 +++++------
src/emu/machine/ram.c | 2 +-
src/emu/machine/upd765.c | 26 ++--
src/emu/machine/wd_fdc.c | 46 +++----
src/emu/mame.c | 6 +-
src/emu/mconfig.c | 2 +-
src/emu/memory.c | 14 +-
src/emu/rendlay.c | 4 +-
src/emu/romload.c | 78 +++++------
src/emu/save.c | 6 +-
src/emu/schedule.c | 4 +-
src/emu/screen.c | 2 +-
src/emu/softlist.c | 4 +-
src/emu/sound/disc_inp.inc | 2 +-
src/emu/tilemap.c | 2 +-
src/emu/ui/barcode.c | 2 +-
src/emu/ui/devopt.c | 4 +-
src/emu/ui/inputmap.c | 14 +-
src/emu/ui/mainmenu.c | 8 +-
src/emu/ui/menu.c | 2 +-
src/emu/ui/miscmenu.c | 2 +-
src/emu/ui/selgame.c | 2 +-
src/emu/ui/swlist.c | 2 +-
src/emu/ui/ui.c | 8 +-
src/emu/validity.c | 22 +--
src/emu/video.c | 8 +-
src/emu/webengine.c | 2 +-
src/ldplayer/ldplayer.c | 2 +-
src/lib/util/astring.h | 12 +-
src/lib/util/cdrom.c | 2 +-
src/lib/util/chd.h | 2 +-
src/lib/util/chdcd.c | 14 +-
src/lib/util/options.c | 16 +--
src/lib/util/options.h | 2 +-
src/mame/drivers/bfm_sc45_helper.c | 52 +++----
src/mame/machine/315-5881_crypt.c | 2 +-
src/mame/machine/naomim1.c | 2 +-
src/mess/drivers/aim65.c | 2 +-
src/mess/drivers/pegasus.c | 2 +-
src/mess/machine/spec_snqk.c | 2 +-
src/mess/machine/thomson.c | 4 +-
src/mess/machine/ti99/gromport.c | 4 +-
src/mess/machine/ti99/gromport.h | 2 +-
.../debugger/qt/deviceinformationwindow.c | 2 +-
src/osd/modules/debugger/qt/mainwindow.c | 4 +-
src/osd/modules/font/font_osx.c | 4 +-
src/osd/modules/font/font_sdl.c | 12 +-
src/osd/modules/lib/osdobj_common.c | 2 +-
src/osd/modules/lib/osdobj_common.h | 2 +-
src/osd/modules/render/d3d/d3dhlsl.c | 2 +-
src/osd/sdl/input.c | 34 ++---
src/osd/sdl/sdlmain.c | 2 +-
src/tools/chdman.c | 130 +++++++++---------
src/tools/nltool.c | 2 +-
src/tools/pngcmp.c | 12 +-
src/tools/regrep.c | 18 +--
src/tools/split.c | 26 ++--
src/tools/src2html.c | 36 ++---
101 files changed, 588 insertions(+), 588 deletions(-)
diff --git a/src/emu/addrmap.c b/src/emu/addrmap.c
index 8e0ef0b1919..9da36efa2e3 100644
--- a/src/emu/addrmap.c
+++ b/src/emu/addrmap.c
@@ -494,7 +494,7 @@ void address_map::uplift_submaps(running_machine &machine, device_t &device, dev
owner.subtag(tag, entry->m_read.m_tag);
device_t *mapdevice = machine.device(tag);
if (mapdevice == NULL) {
- throw emu_fatalerror("Attempted to submap a non-existent device '%s' in space %d of device '%s'\n", tag.cstr(), m_spacenum, device.basetag());
+ throw emu_fatalerror("Attempted to submap a non-existent device '%s' in space %d of device '%s'\n", tag.c_str(), m_spacenum, device.basetag());
}
// Grab the submap
address_map submap(*mapdevice, entry);
diff --git a/src/emu/bus/a7800/a78_slot.c b/src/emu/bus/a7800/a78_slot.c
index d1d6130ba26..1e667d32110 100644
--- a/src/emu/bus/a7800/a78_slot.c
+++ b/src/emu/bus/a7800/a78_slot.c
@@ -812,7 +812,7 @@ void a78_cart_slot_device::internal_header_logging(UINT8 *header, UINT32 len)
logerror( "==============\n\n" );
logerror( "\tTitle: %.32s\n", head_title);
logerror( "\tLength: 0x%X [real 0x%X]\n", head_length, len);
- logerror( "\tMapper: %s [0x%X]\n", cart_mapper.cstr(), head_mapper);
+ logerror( "\tMapper: %s [0x%X]\n", cart_mapper.c_str(), head_mapper);
logerror( "\t\tPOKEY: %s\n", BIT(head_mapper, 0) ? "Yes" : "No");
logerror( "\t\tSC Bankswitch: %s\n", BIT(head_mapper, 1) ? "Yes" : "No");
logerror( "\t\tRAM at $4000: %s\n", BIT(head_mapper, 2) ? "Yes" : "No");
@@ -827,7 +827,7 @@ void a78_cart_slot_device::internal_header_logging(UINT8 *header, UINT32 len)
}
else
logerror( "\n");
- logerror( "\tController 1: 0x%.2X [%s]\n", head_ctrl1, ctrl1.cstr());
- logerror( "\tController 2: 0x%.2X [%s]\n", head_ctrl2, ctrl2.cstr());
+ logerror( "\tController 1: 0x%.2X [%s]\n", head_ctrl1, ctrl1.c_str());
+ logerror( "\tController 2: 0x%.2X [%s]\n", head_ctrl2, ctrl2.c_str());
logerror( "\tVideo: %s\n", (head_ispal) ? "PAL" : "NTSC");
}
diff --git a/src/emu/bus/gba/gba_slot.c b/src/emu/bus/gba/gba_slot.c
index 78bb00bcd14..064bbb60add 100644
--- a/src/emu/bus/gba/gba_slot.c
+++ b/src/emu/bus/gba/gba_slot.c
@@ -307,7 +307,7 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
else if (!memcmp(&ROM[i], "SIIRTC_V", 8))
chip |= GBA_CHIP_RTC;
}
- osd_printf_info("GBA: Detected (ROM) %s\n", gba_chip_string(chip).cstr());
+ osd_printf_info("GBA: Detected (ROM) %s\n", gba_chip_string(chip).c_str());
// fix for games which return more than one kind of chip: either it is one of the known titles, or we default to no battery
if (gba_chip_has_conflict(chip))
@@ -364,7 +364,7 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
chip &= ~GBA_CHIP_RTC;
}
- osd_printf_info("GBA: Emulate %s\n", gba_chip_string(chip).cstr());
+ osd_printf_info("GBA: Emulate %s\n", gba_chip_string(chip).c_str());
switch (chip)
{
diff --git a/src/emu/bus/intv/slot.c b/src/emu/bus/intv/slot.c
index 621c4014bb2..231b291b153 100644
--- a/src/emu/bus/intv/slot.c
+++ b/src/emu/bus/intv/slot.c
@@ -328,7 +328,7 @@ int intv_cart_slot_device::load_fullpath()
}
else
{
- sscanf(extrainfo.cstr() ,"%d %d %d %d %d %d %d", &mapper, &rom[0], &rom[1], &rom[2],
+ sscanf(extrainfo.c_str() ,"%d %d %d %d %d %d %d", &mapper, &rom[0], &rom[1], &rom[2],
&rom[3], &ram, &extra);
//printf("extrainfo: %d %d %d %d %d %d %d \n", mapper, rom[0], rom[1], rom[2], rom[3], ram, extra);
@@ -483,7 +483,7 @@ void intv_cart_slot_device::get_default_card_software(astring &result)
if (hashfile_extrainfo(*this, extrainfo))
{
- sscanf(extrainfo.cstr() ,"%d %d %d %d %d %d %d", &mapper, &rom[0], &rom[1], &rom[2],
+ sscanf(extrainfo.c_str() ,"%d %d %d %d %d %d %d", &mapper, &rom[0], &rom[1], &rom[2],
&rom[3], &ram, &extra);
if (ram)
diff --git a/src/emu/bus/megadrive/md_slot.c b/src/emu/bus/megadrive/md_slot.c
index 5cc2c124ecb..168c23cb25e 100644
--- a/src/emu/bus/megadrive/md_slot.c
+++ b/src/emu/bus/megadrive/md_slot.c
@@ -1082,10 +1082,10 @@ void base_md_cart_slot_device::file_logging(UINT8 *ROM8, UINT32 rom_len, UINT32
}
logerror("Checksum: %X\n", checksum);
logerror(" - Calculated Checksum: %X\n", csum);
- logerror("Supported I/O Devices: %.16s\n%s", io, ctrl.cstr());
+ logerror("Supported I/O Devices: %.16s\n%s", io, ctrl.c_str());
logerror("Modem: %.12s\n", modem);
logerror("Memo: %.40s\n", memo);
- logerror("Country: %.16s\n%s", country, reg.cstr());
+ logerror("Country: %.16s\n%s", country, reg.c_str());
logerror("ROM Start: 0x%.8X\n", rom_start);
logerror("ROM End: 0x%.8X\n", rom_end);
logerror("RAM Start: 0x%.8X\n", ram_start);
diff --git a/src/emu/bus/msx_slot/cartridge.c b/src/emu/bus/msx_slot/cartridge.c
index 3ef1a45f3e8..57b2a668ac5 100644
--- a/src/emu/bus/msx_slot/cartridge.c
+++ b/src/emu/bus/msx_slot/cartridge.c
@@ -290,7 +290,7 @@ void msx_slot_cartridge_device::get_default_card_software(astring &result)
if (hashfile_extrainfo(*this, extrainfo))
{
int extrainfo_type = -1;
- if (1 == sscanf(extrainfo.cstr(), "%d", &extrainfo_type))
+ if (1 == sscanf(extrainfo.c_str(), "%d", &extrainfo_type))
{
static const struct { int extrainfo; int mapper; } extrainfo_map[] = {
//{ 0, NOMAPPER },
diff --git a/src/emu/bus/nes/nes_ines.inc b/src/emu/bus/nes/nes_ines.inc
index b99dea5cda2..d783715a029 100644
--- a/src/emu/bus/nes/nes_ines.inc
+++ b/src/emu/bus/nes/nes_ines.inc
@@ -392,7 +392,7 @@ void nes_cart_slot_device::call_load_ines()
}
else
{
- logerror("NES: [%s], Invalid mapinfo found\n", mapinfo.cstr());
+ logerror("NES: [%s], Invalid mapinfo found\n", mapinfo.c_str());
}
}
else
diff --git a/src/emu/cheat.c b/src/emu/cheat.c
index 1ccd40a7daf..7bc0308f705 100644
--- a/src/emu/cheat.c
+++ b/src/emu/cheat.c
@@ -540,7 +540,7 @@ void cheat_script::script_entry::save(emu_file &cheatfile) const
// output an output
else
{
- cheatfile.printf("\t\t\t
\n");
}
}
diff --git a/src/tools/split.c b/src/tools/split.c
index 02e546fce14..ec4a5434fcc 100644
--- a/src/tools/split.c
+++ b/src/tools/split.c
@@ -123,16 +123,16 @@ static int split_file(const char *filename, const char *basename, UINT32 splitsi
filerr = core_fopen(splitfilename, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_NO_BOM, &splitfile);
if (filerr != FILERR_NONE)
{
- fprintf(stderr, "Fatal error: unable to create split file '%s'\n", splitfilename.cstr());
+ fprintf(stderr, "Fatal error: unable to create split file '%s'\n", splitfilename.c_str());
goto cleanup;
}
// write the basics out
- core_fprintf(splitfile, "splitfile=%s\n", basefilename.cstr());
+ core_fprintf(splitfile, "splitfile=%s\n", basefilename.c_str());
core_fprintf(splitfile, "splitsize=%d\n", splitsize);
- printf("Split file is '%s'\n", splitfilename.cstr());
- printf("Splitting file %s into chunks of %dMB...\n", basefilename.cstr(), splitsize / (1024 * 1024));
+ printf("Split file is '%s'\n", splitfilename.c_str());
+ printf("Splitting file %s into chunks of %dMB...\n", basefilename.c_str(), splitsize / (1024 * 1024));
// now iterate until done
for (partnum = 0; partnum < 1000; partnum++)
@@ -150,7 +150,7 @@ static int split_file(const char *filename, const char *basename, UINT32 splitsi
compute_hash_as_string(computedhash, splitbuffer, length);
// write that info to the split file
- core_fprintf(splitfile, "hash=%s file=%s.%03d\n", computedhash.cstr(), basefilename.cstr(), partnum);
+ core_fprintf(splitfile, "hash=%s file=%s.%03d\n", computedhash.c_str(), basefilename.c_str(), partnum);
// compute the full filename for this guy
outfilename.printf("%s.%03d", basename, partnum);
@@ -160,11 +160,11 @@ static int split_file(const char *filename, const char *basename, UINT32 splitsi
if (filerr != FILERR_NONE)
{
printf("\n");
- fprintf(stderr, "Fatal error: unable to create output file '%s'\n", outfilename.cstr());
+ fprintf(stderr, "Fatal error: unable to create output file '%s'\n", outfilename.c_str());
goto cleanup;
}
- printf(" writing %s.%03d...", basefilename.cstr(), partnum);
+ printf(" writing %s.%03d...", basefilename.c_str(), partnum);
// write the data
actual = core_fwrite(outfile, splitbuffer, length);
@@ -273,7 +273,7 @@ static int join_file(const char *filename, const char *outname, int write_output
{
core_fclose(outfile);
outfile = NULL;
- fprintf(stderr, "Fatal error: output file '%s' already exists\n", outfilename.cstr());
+ fprintf(stderr, "Fatal error: output file '%s' already exists\n", outfilename.c_str());
goto cleanup;
}
@@ -281,12 +281,12 @@ static int join_file(const char *filename, const char *outname, int write_output
filerr = core_fopen(outfilename, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE, &outfile);
if (filerr != FILERR_NONE)
{
- fprintf(stderr, "Fatal error: unable to create file '%s'\n", outfilename.cstr());
+ fprintf(stderr, "Fatal error: unable to create file '%s'\n", outfilename.c_str());
goto cleanup;
}
}
- printf("%s file '%s'...\n", write_output ? "Joining" : "Verifying", outfilename.cstr());
+ printf("%s file '%s'...\n", write_output ? "Joining" : "Verifying", outfilename.c_str());
// now iterate through each file
while (core_fgets(buffer, sizeof(buffer), splitfile))
@@ -302,7 +302,7 @@ static int join_file(const char *filename, const char *outname, int write_output
expectedhash.cpy(buffer + 5, SHA1_DIGEST_SIZE * 2);
infilename.cpy(buffer + 5 + SHA1_DIGEST_SIZE * 2 + 6).trimspace();
- printf(" Reading file '%s'...", infilename.cstr());
+ printf(" Reading file '%s'...", infilename.c_str());
// read the file's contents
infilename.ins(0, basepath);
@@ -310,7 +310,7 @@ static int join_file(const char *filename, const char *outname, int write_output
if (filerr != FILERR_NONE)
{
printf("\n");
- fprintf(stderr, "Fatal error: unable to load file '%s'\n", infilename.cstr());
+ fprintf(stderr, "Fatal error: unable to load file '%s'\n", infilename.c_str());
goto cleanup;
}
@@ -321,7 +321,7 @@ static int join_file(const char *filename, const char *outname, int write_output
if (computedhash != expectedhash)
{
printf("\n");
- fprintf(stderr, "Fatal error: file '%s' has incorrect hash\n Expected: %s\n Computed: %s\n", infilename.cstr(), expectedhash.cstr(), computedhash.cstr());
+ fprintf(stderr, "Fatal error: file '%s' has incorrect hash\n Expected: %s\n Computed: %s\n", infilename.c_str(), expectedhash.c_str(), computedhash.c_str());
goto cleanup;
}
diff --git a/src/tools/src2html.c b/src/tools/src2html.c
index 5ebe31ee71f..2f6d1a6ca6a 100644
--- a/src/tools/src2html.c
+++ b/src/tools/src2html.c
@@ -332,7 +332,7 @@ static int recurse_dir(int srcrootlen, int dstrootlen, astring &srcdir, astring
// create an index file
astring indexname;
- indexname.printf("%s%c%s", dstdir.cstr(), PATH_SEPARATOR[0], "index.html");
+ indexname.printf("%s%c%s", dstdir.c_str(), PATH_SEPARATOR[0], "index.html");
core_file *indexfile = create_file_and_output_header(indexname, tempheader, srcdir_subpath);
// output the directory navigation
@@ -402,7 +402,7 @@ static int recurse_dir(int srcrootlen, int dstrootlen, astring &srcdir, astring
// build the source filename
astring srcfile;
- srcfile.printf("%s%c%s", srcdir.cstr(), PATH_SEPARATOR[0], curlist->name.cstr());
+ srcfile.printf("%s%c%s", srcdir.c_str(), PATH_SEPARATOR[0], curlist->name.c_str());
// if we have a file, output it
astring dstfile;
@@ -420,9 +420,9 @@ static int recurse_dir(int srcrootlen, int dstrootlen, astring &srcdir, astring
// if we got a valid file, process it
if (type != FILE_TYPE_INVALID)
{
- dstfile.printf("%s%c%s.html", dstdir.cstr(), PATH_SEPARATOR[0], curlist->name.cstr());
+ dstfile.printf("%s%c%s.html", dstdir.c_str(), PATH_SEPARATOR[0], curlist->name.c_str());
if (indexfile != NULL)
- core_fprintf(indexfile, "\t%s\n", curlist->name.cstr(), curlist->name.cstr());
+ core_fprintf(indexfile, "\t%s\n", curlist->name.c_str(), curlist->name.c_str());
result = output_file(type, srcrootlen, dstrootlen, srcfile, dstfile, srcdir == dstdir, tempheader, tempfooter);
}
}
@@ -430,9 +430,9 @@ static int recurse_dir(int srcrootlen, int dstrootlen, astring &srcdir, astring
// if we have a directory, recurse
else
{
- dstfile.printf("%s%c%s", dstdir.cstr(), PATH_SEPARATOR[0], curlist->name.cstr());
+ dstfile.printf("%s%c%s", dstdir.c_str(), PATH_SEPARATOR[0], curlist->name.c_str());
if (indexfile != NULL)
- core_fprintf(indexfile, "\t%s/\n", curlist->name.cstr(), curlist->name.cstr());
+ core_fprintf(indexfile, "\t%s/\n", curlist->name.c_str(), curlist->name.c_str());
result = recurse_dir(srcrootlen, dstrootlen, srcfile, dstfile, tempheader, tempfooter);
}
}
@@ -467,7 +467,7 @@ static int output_file(file_type type, int srcrootlen, int dstrootlen, astring &
astring srcfile_subpath;
normalized_subpath(srcfile_subpath, srcfile, srcrootlen + 1);
- fprintf(stderr, "Processing %s\n", srcfile_subpath.cstr());
+ fprintf(stderr, "Processing %s\n", srcfile_subpath.c_str());
// set some defaults
bool color_quotes = false;
@@ -519,7 +519,7 @@ static int output_file(file_type type, int srcrootlen, int dstrootlen, astring &
core_file *src;
if (core_fopen(srcfile, OPEN_FLAG_READ, &src) != FILERR_NONE)
{
- fprintf(stderr, "Unable to read file '%s'\n", srcfile.cstr());
+ fprintf(stderr, "Unable to read file '%s'\n", srcfile.c_str());
return 1;
}
@@ -527,7 +527,7 @@ static int output_file(file_type type, int srcrootlen, int dstrootlen, astring &
core_file *dst = create_file_and_output_header(dstfile, tempheader, srcfile_subpath);
if (dst == NULL)
{
- fprintf(stderr, "Unable to write file '%s'\n", dstfile.cstr());
+ fprintf(stderr, "Unable to write file '%s'\n", dstfile.c_str());
core_fclose(src);
return 1;
}
@@ -659,7 +659,7 @@ static int output_file(file_type type, int srcrootlen, int dstrootlen, astring &
astring target;
if (find_include_file(target, srcrootlen, dstrootlen, srcfile, dstfile, filename))
{
- dstline.catprintf("", target.cstr());
+ dstline.catprintf("", target.c_str());
quotes_are_linked = true;
}
}
@@ -738,8 +738,8 @@ static core_file *create_file_and_output_header(astring &filename, astring &temp
// print a header
astring modified(templatefile);
- modified.replace(0, "", path.cstr());
- core_fwrite(file, modified.cstr(), modified.len());
+ modified.replace(0, "", path.c_str());
+ core_fwrite(file, modified.c_str(), modified.len());
// return the file
return file;
@@ -754,8 +754,8 @@ static core_file *create_file_and_output_header(astring &filename, astring &temp
static void output_footer_and_close_file(core_file *file, astring &templatefile, astring &path)
{
astring modified(templatefile);
- modified.replace(0, "", path.cstr());
- core_fwrite(file, modified.cstr(), modified.len());
+ modified.replace(0, "", path.c_str());
+ core_fwrite(file, modified.c_str(), modified.len());
core_fclose(file);
}
@@ -807,7 +807,7 @@ static void output_path_as_links(core_file *file, astring &path, bool end_is_dir
core_fprintf(file, "%s/", substr.cstr());
+ core_fprintf(file, "index.html\">%s/", substr.c_str());
lastslash = slashindex + 1;
}
@@ -815,11 +815,11 @@ static void output_path_as_links(core_file *file, astring &path, bool end_is_dir
// and a final link to the current directory
astring substr(path, lastslash, -1);
if (end_is_directory)
- core_fprintf(file, "%s", substr.cstr());
+ core_fprintf(file, "%s", substr.c_str());
else if (link_to_file)
- core_fprintf(file, "%s", substr.cstr(), substr.cstr());
+ core_fprintf(file, "%s", substr.c_str(), substr.c_str());
else
- core_fprintf(file, "%s", substr.cstr(), substr.cstr());
+ core_fprintf(file, "%s", substr.c_str(), substr.c_str());
}