HelenOS sources
str_dup 143 common/include/str.h extern char *str_dup(const char *src);
str_dup 143 kernel/generic/common/include/str.h extern char *str_dup(const char *src);
str_dup 207 tools/xcw/demo/viewer.c viewer->imgs[0] = str_dup(fname);
str_dup 467 tools/xcw/demo/viewer.c viewer->imgs[j] = str_dup(argv[i + j]);
str_dup 134 uspace/app/bdsh/cmds/builtins/cd/cd.c char *prev_dup = str_dup(previous_directory);
str_dup 74 uspace/app/bdsh/cmds/modules/alias/alias.c char *dup_value = str_dup(value);
str_dup 91 uspace/app/bdsh/cmds/modules/alias/alias.c data->name = str_dup(name);
str_dup 98 uspace/app/bdsh/cmds/modules/alias/alias.c data->value = str_dup(value);
str_dup 279 uspace/app/bdsh/cmds/modules/ls/ls.c (*dir_list_ptr)[i].name = str_dup(tosort[i].name);
str_dup 111 uspace/app/bdsh/cmds/modules/touch/touch.c buff = str_dup(argv[i]);
str_dup 211 uspace/app/bdsh/compl.c cs->prefix = str_dup(rpath_sep + 1);
str_dup 78 uspace/app/bdsh/exec.c *found = str_dup(cmd);
str_dup 630 uspace/app/calculator/calculator.c expr = str_dup(subexpr);
str_dup 488 uspace/app/display-cfg/seats.c entry->name = str_dup(name);
str_dup 570 uspace/app/display-cfg/seats.c entry->name = str_dup(name);
str_dup 610 uspace/app/display-cfg/seats.c entry->name = str_dup(name);
str_dup 130 uspace/app/display-cfg/test/seats.c resp.get_seat_info_rinfo->name = str_dup("Alice");
str_dup 151 uspace/app/download/main.c server_path = str_dup(path);
str_dup 341 uspace/app/edit/edit.c doc.file_name = str_dup(argv[1]);
str_dup 1003 uspace/app/edit/edit.c fn = str_dup(fname);
str_dup 1538 uspace/app/edit/edit.c fname = str_dup(p + 1);
str_dup 1540 uspace/app/edit/edit.c fname = str_dup(doc.file_name);
str_dup 1542 uspace/app/edit/edit.c fname = str_dup("<unnamed>");
str_dup 2639 uspace/app/edit/edit.c cname = str_dup(fname);
str_dup 2698 uspace/app/edit/edit.c cname = str_dup(fname);
str_dup 2811 uspace/app/edit/edit.c pattern = str_dup(text);
str_dup 116 uspace/app/hbench/env.c param->key = str_dup(key);
str_dup 117 uspace/app/hbench/env.c param->value = str_dup(value);
str_dup 267 uspace/app/hbench/main.c failed_names = str_dup(benchmarks[it]->name);
str_dup 110 uspace/app/loc/loc.c cat_name = str_dup("<unknown>");
str_dup 142 uspace/app/sbi/src/os/helenos.c return str_dup(str);
str_dup 109 uspace/app/sysinst/rdimg.c rdpath = str_dup("/vol/" RD_LABEL);
str_dup 79 uspace/app/sysinst/volume.c volume->label = str_dup("");
str_dup 80 uspace/app/sysinst/volume.c volume->mountp = str_dup("");
str_dup 127 uspace/app/sysinst/volume.c volumes->cfg_path = str_dup(cfg_path);
str_dup 204 uspace/app/sysinst/volume.c dcfg_path = str_dup(cfg_path);
str_dup 355 uspace/app/sysinst/volume.c volume->label = str_dup(label);
str_dup 479 uspace/app/sysinst/volume.c mp = str_dup(mountp);
str_dup 596 uspace/app/sysinst/volume.c volume->label = str_dup(label);
str_dup 597 uspace/app/sysinst/volume.c volume->mountp = str_dup(mountp);
str_dup 130 uspace/app/taskbar-cfg/test/startmenu.c resp.get_seat_info_rinfo->name = str_dup("Alice");
str_dup 144 uspace/app/taskbar/taskbar.c dspec = str_dup(display_spec);
str_dup 89 uspace/app/taskbar/tbsmenu.c tbsmenu->display_spec = str_dup(dspec);
str_dup 150 uspace/app/taskbar/tbsmenu.c tbsmenu->repopath = str_dup(repopath);
str_dup 292 uspace/app/taskbar/tbsmenu.c entry->caption = str_dup(caption);
str_dup 298 uspace/app/taskbar/tbsmenu.c entry->cmd = str_dup(cmd);
str_dup 493 uspace/app/taskbar/tbsmenu.c buf = str_dup(str);
str_dup 507 uspace/app/taskbar/tbsmenu.c buf = str_dup(str);
str_dup 521 uspace/app/taskbar/tbsmenu.c cmd->argv[cnt] = str_dup(arg);
str_dup 575 uspace/app/taskbar/tbsmenu.c *cp = str_dup(dspec);
str_dup 639 uspace/app/taskbar/test/wndlist.c winfo->caption = str_dup("Hello");
str_dup 119 uspace/app/tester/tester.c failed_names = str_dup(test->name);
str_dup 207 uspace/app/viewer/viewer.c viewer->imgs[0] = str_dup(fname);
str_dup 467 uspace/app/viewer/viewer.c viewer->imgs[j] = str_dup(argv[i + j]);
str_dup 67 uspace/app/vol/vol.c canon_mp_buf = str_dup(mp);
str_dup 218 uspace/dist/src/c/demos/edit/edit.c doc.file_name = str_dup(argv[1]);
str_dup 970 uspace/dist/src/c/demos/edit/edit.c fname = str_dup(p + 1);
str_dup 972 uspace/dist/src/c/demos/edit/edit.c fname = str_dup(doc.file_name);
str_dup 974 uspace/dist/src/c/demos/edit/edit.c fname = str_dup("<unnamed>");
str_dup 157 uspace/drv/bus/usb/vhc/hub/virthub.c char *n = str_dup(name);
str_dup 431 uspace/lib/ata/src/ata.c atype = str_dup("LBA-28");
str_dup 434 uspace/lib/ata/src/ata.c atype = str_dup("LBA-48");
str_dup 438 uspace/lib/ata/src/ata.c atype = str_dup("PACKET");
str_dup 143 uspace/lib/c/common/include/str.h extern char *str_dup(const char *src);
str_dup 73 uspace/lib/c/generic/config.c value = str_dup(value);
str_dup 165 uspace/lib/c/generic/io/log.c log_prog_name = str_dup(prog_name);
str_dup 399 uspace/lib/c/generic/loc.c *name = str_dup(name_buf);
str_dup 109 uspace/lib/c/generic/vfs/inbox.c entry->name = str_dup(name);
str_dup 154 uspace/lib/c/generic/vfs/vfs.c *child = str_dup(slash);
str_dup 217 uspace/lib/c/generic/vfs/vfs.c ncwd_path = str_dup(ncwd_path);
str_dup 88 uspace/lib/clui/src/nchoice.c pstr = str_dup(prompt);
str_dup 108 uspace/lib/clui/src/nchoice.c ptext = str_dup(opttext);
str_dup 158 uspace/lib/clui/src/nchoice.c istr = str_dup("");
str_dup 468 uspace/lib/clui/src/tinput.c ti->history[1] = str_dup(str);
str_dup 725 uspace/lib/clui/src/tinput.c compl[cnum] = str_dup(ctmp);
str_dup 808 uspace/lib/clui/src/tinput.c ti->prompt = str_dup(prompt);
str_dup 38 uspace/lib/cpp/src/stdexcept.cpp : what_{::helenos::str_dup(what.c_str())}
str_dup 42 uspace/lib/cpp/src/stdexcept.cpp : what_{::helenos::str_dup(what)}
str_dup 46 uspace/lib/cpp/src/stdexcept.cpp : exception{other}, what_{::helenos::str_dup(other.what_)}
str_dup 53 uspace/lib/cpp/src/stdexcept.cpp what_ = ::helenos::str_dup(other.what_);
str_dup 117 uspace/lib/cpp/src/stdexcept.cpp : what_{::helenos::str_dup(what.c_str())}
str_dup 121 uspace/lib/cpp/src/stdexcept.cpp : what_{::helenos::str_dup(what)}
str_dup 125 uspace/lib/cpp/src/stdexcept.cpp : exception{other}, what_{::helenos::str_dup(other.what_)}
str_dup 132 uspace/lib/cpp/src/stdexcept.cpp what_ = ::helenos::str_dup(other.what_);
str_dup 64 uspace/lib/device/src/io/label.c s = str_dup(sltype);
str_dup 96 uspace/lib/device/src/io/label.c s = str_dup(spkind);
str_dup 488 uspace/lib/device/src/vol.c s = str_dup(sfstype);
str_dup 511 uspace/lib/device/src/vol.c s = str_dup("Empty");
str_dup 521 uspace/lib/device/src/vol.c s = str_dup("Unknown");
str_dup 149 uspace/lib/dispcfg/src/testdc.c resp->seat_create_name = str_dup(name);
str_dup 226 uspace/lib/dispcfg/test/dispcfg.c resp.get_seat_info_rinfo->name = str_dup("Hello");
str_dup 2347 uspace/lib/display/test/display.c resp->set_caption_caption = str_dup(caption);
str_dup 683 uspace/lib/drv/generic/driver.c dev->name = str_dup(name);
str_dup 743 uspace/lib/drv/generic/driver.c fun->name = str_dup(name);
str_dup 928 uspace/lib/drv/generic/driver.c match_id->id = str_dup(match_id_str);
str_dup 78 uspace/lib/drv/generic/remote_ahci.c *name = str_dup(devn);
str_dup 213 uspace/lib/fdisk/src/fdisk.c name = str_dup(info->svcname);
str_dup 272 uspace/lib/fdisk/src/fdisk.c part->label = str_dup(vpinfo.label);
str_dup 792 uspace/lib/fdisk/src/fdisk.c part->label = str_dup(vpinfo.label);
str_dup 175 uspace/lib/gfxfont/src/glyph.c pat->text = str_dup(pattern);
str_dup 61 uspace/lib/http/src/headers.c header->name = str_dup(name);
str_dup 67 uspace/lib/http/src/headers.c header->value = str_dup(value);
str_dup 303 uspace/lib/http/src/headers.c char *new_value = str_dup(value);
str_dup 63 uspace/lib/http/src/http.c http->host = str_dup(host);
str_dup 55 uspace/lib/http/src/request.c req->method = str_dup(method);
str_dup 61 uspace/lib/http/src/request.c req->path = str_dup(path);
str_dup 132 uspace/lib/inet/src/dnsr.c info->cname = str_dup(cname_buf);
str_dup 123 uspace/lib/inet/src/host.c str = str_dup(host->host.name);
str_dup 169 uspace/lib/inet/src/hostport.c hstr = str_dup(hp->host.name);
str_dup 229 uspace/lib/inet/src/inetcfg.c ainfo->name = str_dup(name_buf);
str_dup 315 uspace/lib/inet/src/inetcfg.c linfo->name = str_dup(name_buf);
str_dup 439 uspace/lib/inet/src/inetcfg.c srinfo->name = str_dup(name_buf);
str_dup 96 uspace/lib/ofw/src/ofw.c it->ofwpath = str_dup("");
str_dup 98 uspace/lib/ofw/src/ofw.c it->ofwpath = str_dup(ofwpath);
str_dup 143 uspace/lib/posix/include/common/str.h extern char *str_dup(const char *src);
str_dup 201 uspace/lib/sif/src/sif.c root->ntype = str_dup("sif");
str_dup 236 uspace/lib/sif/src/sif.c doc->fname = str_dup(fname);
str_dup 405 uspace/lib/sif/src/sif.c child->ntype = str_dup(ctype);
str_dup 436 uspace/lib/sif/src/sif.c child->ntype = str_dup(ctype);
str_dup 467 uspace/lib/sif/src/sif.c child->ntype = str_dup(ctype);
str_dup 498 uspace/lib/sif/src/sif.c child->ntype = str_dup(ctype);
str_dup 539 uspace/lib/sif/src/sif.c cvalue = str_dup(avalue);
str_dup 550 uspace/lib/sif/src/sif.c attr->aname = str_dup(aname);
str_dup 556 uspace/lib/sif/src/sif.c attr->avalue = str_dup(avalue);
str_dup 72 uspace/lib/tbarcfg/src/tbarcfg.c tbcfg->cfgpath = str_dup(repopath);
str_dup 135 uspace/lib/tbarcfg/src/tbarcfg.c tbcfg->cfgpath = str_dup(repopath);
str_dup 399 uspace/lib/tbarcfg/src/tbarcfg.c dcap = str_dup(caption);
str_dup 423 uspace/lib/tbarcfg/src/tbarcfg.c dcmd = str_dup(cmd);
str_dup 509 uspace/lib/tbarcfg/src/tbarcfg.c entry->caption = str_dup(caption);
str_dup 515 uspace/lib/tbarcfg/src/tbarcfg.c entry->cmd = str_dup(cmd);
str_dup 94 uspace/lib/ui/src/checkbox.c checkbox->caption = str_dup(caption);
str_dup 105 uspace/lib/ui/src/entry.c entry->text = str_dup(text);
str_dup 184 uspace/lib/ui/src/entry.c tcopy = str_dup(text);
str_dup 494 uspace/lib/ui/src/entry.c ltext = str_dup(entry->text);
str_dup 237 uspace/lib/ui/src/filelist.c entry->name = str_dup(attr->name);
str_dup 252 uspace/lib/ui/src/filelist.c caption = str_dup(attr->name);
str_dup 342 uspace/lib/ui/src/filelist.c ndir = str_dup(newdir);
str_dup 577 uspace/lib/ui/src/filelist.c dirname = str_dup(entry->name);
str_dup 82 uspace/lib/ui/src/label.c label->text = str_dup(text);
str_dup 158 uspace/lib/ui/src/label.c tcopy = str_dup(text);
str_dup 686 uspace/lib/ui/src/list.c entry->caption = str_dup(attr->caption);
str_dup 891 uspace/lib/ui/src/list.c dcaption = str_dup(caption);
str_dup 81 uspace/lib/ui/src/menudd.c mdd->caption = str_dup(caption);
str_dup 86 uspace/lib/ui/src/menuentry.c mentry->caption = str_dup(caption);
str_dup 92 uspace/lib/ui/src/menuentry.c mentry->shortcut = str_dup(shortcut);
str_dup 96 uspace/lib/ui/src/pbutton.c pbutton->caption = str_dup(caption);
str_dup 220 uspace/lib/ui/src/pbutton.c dcaption = str_dup(caption);
str_dup 125 uspace/lib/ui/src/rbutton.c rbutton->caption = str_dup(caption);
str_dup 124 uspace/lib/ui/src/tab.c tab->caption = str_dup(caption);
str_dup 112 uspace/lib/ui/src/ui.c *osvc = str_dup(cp);
str_dup 161 uspace/lib/ui/src/wdecor.c wdecor->caption = str_dup(caption);
str_dup 300 uspace/lib/ui/src/wdecor.c cdup = str_dup(caption);
str_dup 97 uspace/lib/usbvirt/src/virthub_base.c instance->device.name = str_dup(name);
str_dup 291 uspace/lib/wndmgt/test/wndmgt.c resp.get_window_info_rinfo->caption = str_dup("Hello");
str_dup 79 uspace/srv/audio/hound/audio_device.c dev->name = str_dup(name);
str_dup 69 uspace/srv/audio/hound/audio_sink.c sink->name = str_dup(name);
str_dup 70 uspace/srv/audio/hound/audio_source.c source->name = str_dup(name);
str_dup 438 uspace/srv/audio/hound/hound.c names[i] = str_dup(source->name);
str_dup 480 uspace/srv/audio/hound/hound.c names[i] = str_dup(sink->name);
str_dup 146 uspace/srv/devman/devtree.c if (!insert_fun_node(tree, fun, str_dup(""), NULL)) {
str_dup 153 uspace/srv/devman/devtree.c id->id = str_dup("root");
str_dup 439 uspace/srv/fs/cdfs/cdfs_ops.c dentry->name = str_dup(name);
str_dup 147 uspace/srv/hid/display/cfgops.c info->name = str_dup(seat->name);
str_dup 78 uspace/srv/hid/display/seat.c seat->name = str_dup(name);
str_dup 91 uspace/srv/hid/display/window.c wnd->caption = str_dup(params->caption);
str_dup 1070 uspace/srv/hid/display/window.c dcaption = str_dup(caption);
str_dup 139 uspace/srv/hid/display/wmops.c info->caption = str_dup(wnd->caption);
str_dup 192 uspace/srv/hid/rfb/rfb.c rfb->name = str_dup(name);
str_dup 88 uspace/srv/locsrv/category.c cat->name = str_dup(name);
str_dup 144 uspace/srv/locsrv/locsrv.c *ns_name = str_dup("");
str_dup 148 uspace/srv/locsrv/locsrv.c *name = str_dup(fqsn);
str_dup 168 uspace/srv/locsrv/locsrv.c *name = str_dup(fqsn + slash_after);
str_dup 260 uspace/srv/locsrv/locsrv.c namespace->name = str_dup(ns_name);
str_dup 1196 uspace/srv/locsrv/locsrv.c char *dev_name = str_dup(null);
str_dup 73 uspace/srv/logger/logs.c result->name = str_dup(name);
str_dup 83 uspace/srv/logger/logs.c result->full_name = str_dup(name);
str_dup 65 uspace/srv/net/dnsrsrv/dns_msg.c *dstr = str_dup(suff);
str_dup 53 uspace/srv/net/dnsrsrv/query.c char *sname = str_dup(name);
str_dup 57 uspace/srv/net/dnsrsrv/query.c char *qname = str_dup(name);
str_dup 138 uspace/srv/net/dnsrsrv/query.c info->cname = str_dup(rr->name);
str_dup 161 uspace/srv/net/dnsrsrv/query.c info->cname = str_dup(rr->name);
str_dup 370 uspace/srv/net/inetsrv/addrobj.c addr->name = str_dup(name);
str_dup 244 uspace/srv/net/inetsrv/inet_link.c addr->name = str_dup("v4a");
str_dup 281 uspace/srv/net/inetsrv/inet_link.c addr6->name = str_dup("v6a");
str_dup 734 uspace/srv/net/inetsrv/inet_link.c link_info[i].svc_name = str_dup(ilink->svc_name);
str_dup 77 uspace/srv/net/inetsrv/inetcfg.c addr->name = str_dup(name);
str_dup 118 uspace/srv/net/inetsrv/inetcfg.c info.svc_name = str_dup(addr->ilink->svc_name);
str_dup 164 uspace/srv/net/inetsrv/inetcfg.c ainfo->name = str_dup(addr->name);
str_dup 219 uspace/srv/net/inetsrv/inetcfg.c linfo->name = str_dup(ilink->svc_name);
str_dup 249 uspace/srv/net/inetsrv/inetcfg.c sroute->name = str_dup(name);
str_dup 294 uspace/srv/net/inetsrv/inetcfg.c srinfo->name = str_dup(sroute->name);
str_dup 983 uspace/srv/net/inetsrv/inetcfg.c cfg->cfg_path = str_dup(cfg_path);
str_dup 267 uspace/srv/net/inetsrv/sroute.c sroute->name = str_dup(name);
str_dup 157 uspace/srv/net/udp/test/assoc.c msg->data = str_dup(msgstr);
str_dup 192 uspace/srv/net/udp/test/assoc.c msg->data = str_dup(msgstr);
str_dup 225 uspace/srv/net/udp/test/assoc.c msg->data = str_dup(msgstr);
str_dup 267 uspace/srv/net/udp/test/assoc.c msg->data = str_dup(msgstr);
str_dup 313 uspace/srv/net/udp/test/assoc.c msg->data = str_dup(msgstr);
str_dup 353 uspace/srv/net/udp/test/assoc.c msg->data = str_dup(msgstr);
str_dup 55 uspace/srv/net/udp/test/msg.c msg->data = str_dup(msgstr);
str_dup 68 uspace/srv/net/udp/test/pdu.c msg->data = str_dup(msgstr);
str_dup 109 uspace/srv/net/udp/test/pdu.c msg->data = str_dup(msgstr);
str_dup 228 uspace/srv/volsrv/part.c label = str_dup(info.label);
str_dup 249 uspace/srv/volsrv/part.c label = str_dup("");
str_dup 349 uspace/srv/volsrv/part.c mp = str_dup(cfg_mp);
str_dup 79 uspace/srv/volsrv/volume.c volume->label = str_dup("");
str_dup 80 uspace/srv/volsrv/volume.c volume->mountp = str_dup("");
str_dup 127 uspace/srv/volsrv/volume.c volumes->cfg_path = str_dup(cfg_path);
str_dup 204 uspace/srv/volsrv/volume.c dcfg_path = str_dup(cfg_path);
str_dup 355 uspace/srv/volsrv/volume.c volume->label = str_dup(label);
str_dup 479 uspace/srv/volsrv/volume.c mp = str_dup(mountp);
str_dup 596 uspace/srv/volsrv/volume.c volume->label = str_dup(label);
str_dup 597 uspace/srv/volsrv/volume.c volume->mountp = str_dup(mountp);
HelenOS homepage, sources at GitHub