HelenOS sources

snprintf          394 kernel/genarch/src/ofw/ofw_tree.c 			snprintf(cur_path, PATH_MAX_LEN, "%s.%s", path, cur->da_name);
snprintf          396 kernel/genarch/src/ofw/ofw_tree.c 			snprintf(cur_path, PATH_MAX_LEN, "firmware.ofw");
snprintf          398 kernel/genarch/src/ofw/ofw_tree.c 			snprintf(cur_path, PATH_MAX_LEN, "firmware.%s", cur->da_name);
snprintf           47 kernel/generic/include/print.h extern int snprintf(char *str, size_t size, const char *fmt, ...)
snprintf          208 kernel/generic/src/main/kinit.c 		snprintf(item_name, CONFIG_TASK_NAME_BUFLEN + 15,
snprintf           42 kernel/test/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Short text without parameters.");
snprintf           47 kernel/test/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Very very very long text without parameters.");
snprintf           52 kernel/test/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Short %s.", "text");
snprintf           57 kernel/test/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Very long %s. This text's length is more than %d. We are interested in the result.", "text", BUFFER_SIZE);
snprintf          244 uspace/app/bdsh/cmds/modules/ls/ls.c 		len = snprintf(buff, PATH_MAX - 1, "%s/%s", d, tosort[nbdirs].name);
snprintf          178 uspace/app/bdsh/cmds/modules/rm/rm.c 		int len = snprintf(buff, PATH_MAX - 1, "%s/%s", path, dp->d_name);
snprintf          312 uspace/app/bdsh/cmds/modules/rm/rm.c 		snprintf(buff, len, "%s", argv[i]);
snprintf          231 uspace/app/bdsh/compl.c 			int ret = snprintf(cs->path_list[0], PATH_MAX, "%s/%s", search_dir[0], dirname);
snprintf          101 uspace/app/bdsh/exec.c 		snprintf(*found, PATH_MAX, "%s/%s", search_dir[i], cmd);
snprintf           68 uspace/app/bdsh/util.c 		snprintf(usr->cwd, PATH_MAX, "(unknown)");
snprintf          397 uspace/app/fontedit/fontedit.c 	snprintf(str, sizeof(str), "%lc", event->c);
snprintf          144 uspace/app/getterm/getterm.c 	snprintf(term_node, LOC_NAME_MAXLEN, "%s/%s", locfs, term);
snprintf          211 uspace/app/hbench/main.c 		snprintf(error_msg, MAX_ERROR_STR_LENGTH, "failed allocating memory");
snprintf          147 uspace/app/sysinfo/sysinfo.c 			snprintf(cur_path, path_size, "%s.%s", path, keys + pos);
snprintf          152 uspace/app/sysinfo/sysinfo.c 			snprintf(cur_path, path_size, "%s", keys + pos);
snprintf          146 uspace/app/taskbar/clock.c 	snprintf(buf, bsize, "%02d:%02d:%02d", tm.tm_hour, tm.tm_min,
snprintf         1114 uspace/app/terminal/terminal.c 	snprintf(vc, LOC_NAME_MAXLEN, "%s/%" PRIu64, NAMESPACE,
snprintf           47 uspace/app/tester/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Short text without parameters.");
snprintf           52 uspace/app/tester/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Very very very long text without parameters.");
snprintf           57 uspace/app/tester/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Short %s.", "text");
snprintf           62 uspace/app/tester/print/print3.c 	retval = snprintf(buffer, BUFFER_SIZE, "Very long %s. This text's length is more than %d. We are interested in the result.", "text", BUFFER_SIZE);
snprintf          189 uspace/app/tester/print/print6.c 		snprintf(buf, buf_size, pat[i].fmt, pat[i].val);
snprintf          201 uspace/app/tetris/screen.c 		snprintf(smallscr, sizeof(smallscr),
snprintf          307 uspace/app/tetris/tetris.c 	snprintf(key_msg, sizeof(key_msg),
snprintf           79 uspace/app/wifi_supplicant/wifi_supplicant.c 	snprintf(out, out_size, "%02x:%02x:%02x:%02x:%02x:%02x",
snprintf          176 uspace/dist/src/c/demos/tetris/screen.c 		snprintf(smallscr, sizeof(smallscr),
snprintf          305 uspace/dist/src/c/demos/tetris/tetris.c 	snprintf(key_msg, sizeof(key_msg),
snprintf         1065 uspace/drv/block/ahci/ahci.c 	snprintf(sata_dev_name, 16, "ahci_%u", sata_devices_count);
snprintf          387 uspace/drv/bus/pci/pciintel/pci.c 	ret = snprintf(match_id_str, ID_MAX_STR_LEN, "pci/ven=%04"
snprintf          399 uspace/drv/bus/pci/pciintel/pci.c 	ret = snprintf(match_id_str, ID_MAX_STR_LEN,
snprintf          412 uspace/drv/bus/pci/pciintel/pci.c 	ret = snprintf(match_id_str, ID_MAX_STR_LEN,
snprintf          425 uspace/drv/bus/pci/pciintel/pci.c 	ret = snprintf(match_id_str, ID_MAX_STR_LEN,
snprintf          438 uspace/drv/bus/pci/pciintel/pci.c 	ret = snprintf(match_id_str, ID_MAX_STR_LEN, "pci/class=%02x",
snprintf          263 uspace/drv/bus/usb/vhc/hub/virthub.c 	snprintf(status, len, "vhub:%s", port_status);
snprintf          253 uspace/drv/bus/usb/xhci/debug.c 	snprintf(type_buf, sizeof(type_buf), "<unknown (%u)>", type);
snprintf          292 uspace/drv/bus/usb/xhci/debug.c 	snprintf(buf, sizeof(buf), "<unknown (%u)>", id);
snprintf           72 uspace/lib/c/generic/l18n/langs.c 	snprintf(unknown_locale, UNKNOWN_LOCALE_LEN, "Unknown locale 0x%04d",
snprintf          145 uspace/lib/c/generic/stats.c 	snprintf(name, SYSINFO_STATS_MAX_PATH, "system.tasks.%" PRIu64, task_id);
snprintf          250 uspace/lib/c/generic/stats.c 	snprintf(name, SYSINFO_STATS_MAX_PATH, "system.exceptions.%u", excn);
snprintf          753 uspace/lib/c/generic/time.c 		consumed = snprintf(ptr, remaining, __VA_ARGS__); \
snprintf         1057 uspace/lib/c/generic/time.c 	snprintf(buf, ASCTIME_BUF_LEN, "%s %s %2d %02d:%02d:%02d %d\n",
snprintf           75 uspace/lib/c/generic/tmpfile.c 		snprintf(p, 6 + 1, "%06zu", tmpfile_cnt);
snprintf          274 uspace/lib/c/generic/uuid.c 	int ret = snprintf(str, size, format, uuid->time_low, uuid->time_mid,
snprintf          676 uspace/lib/c/generic/vfs/vfs.c 		snprintf(null, LOC_NAME_MAXLEN, "null/%d", null_id);
snprintf          139 uspace/lib/c/include/stdio.h extern int snprintf(char *, size_t, const char *, ...)
snprintf           39 uspace/lib/c/test/sprintf.c 		snprintf(buffer, BUFFER_SIZE, actual_format, ##__VA_ARGS__); \
snprintf           35 uspace/lib/c/test/str.c #define SET_BUFFER(str) snprintf(buffer, BUFFER_SIZE, "%s", str)
snprintf          121 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lo", v);
snprintf          123 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lx", v);
snprintf          125 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lX", v);
snprintf          127 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%ld", v);
snprintf          139 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llo", v);
snprintf          141 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llx", v);
snprintf          143 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llX", v);
snprintf          145 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lld", v);
snprintf          157 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lo", v);
snprintf          159 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lx", v);
snprintf          161 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lX", v);
snprintf          163 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%lu", v);
snprintf          176 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llo", v);
snprintf          178 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llx", v);
snprintf          180 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llX", v);
snprintf          182 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%llu", v);
snprintf          196 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%f", v);
snprintf          198 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%e", v);
snprintf          200 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%E", v);
snprintf          202 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%a", v);
snprintf          204 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%A", v);
snprintf          206 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%g", v);
snprintf          208 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%G", v);
snprintf          225 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%Lf", v);
snprintf          227 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%Le", v);
snprintf          229 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%LE", v);
snprintf          231 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%La", v);
snprintf          233 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%LA", v);
snprintf          235 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%Lg", v);
snprintf          237 uspace/lib/cpp/include/__bits/locale/num_put.hpp                     ret = snprintf(base.buffer_, ios_base::buffer_size_, "%LG", v);
snprintf          244 uspace/lib/cpp/include/__bits/locale/num_put.hpp                 int ret = snprintf(base.buffer_, ios_base::buffer_size_, "%p", v);
snprintf           56 uspace/lib/drv/generic/logbuf.c 	snprintf(dump, dump_size, "%s%0" #digits PRIx##bits, \
snprintf          196 uspace/lib/drv/generic/logbuf.c 		snprintf(dump + s, dump_size - s, REMAINDER_STR_FMT,
snprintf           87 uspace/lib/http/src/headers.c 	return snprintf(buf, buf_size,
snprintf           84 uspace/lib/http/src/request.c 	return snprintf(buf, buf_size, HTTP_METHOD_LINE, method, path);
snprintf          539 uspace/lib/inet/src/addr.c 			ret = snprintf(cur, rest, ":");
snprintf          543 uspace/lib/inet/src/addr.c 			ret = snprintf(cur, rest, "%" PRIx16, bioctets[i]);
snprintf          546 uspace/lib/inet/src/addr.c 			ret = snprintf(cur, rest, ":%" PRIx16, bioctets[i]);
snprintf          558 uspace/lib/inet/src/addr.c 		(void) snprintf(cur, rest, ":");
snprintf          110 uspace/lib/inet/src/eth_addr.c 	snprintf(saddr->str, 3, "%02x",
snprintf          113 uspace/lib/inet/src/eth_addr.c 		snprintf(saddr->str + 2 + 3 * (i - 1), 4, ":%02x",
snprintf           72 uspace/lib/nic/src/nic_driver.c 	snprintf(buffer, 256, "drv/" DEVICE_CATEGORY_NIC "/%s", name);
snprintf           46 uspace/lib/pcut/src/helper.c extern int snprintf(char *, size_t, const char *, ...);
snprintf          158 uspace/lib/pcut/src/os/helenos.c 	snprintf(tempfile_name, PCUT_TEMP_FILENAME_BUFFER_SIZE - 1, "pcut_%lld.tmp", (unsigned long long) task_get_id());
snprintf          167 uspace/lib/pcut/src/os/helenos.c 	snprintf(test_number_argument, MAX_TEST_NUMBER_WIDTH, "-t%d", test->id);
snprintf           57 uspace/lib/pcut/tests/beforeafter.c 	snprintf(buffer, BUFFER_SIZE - 1, "%d-%s", 56, "abcd");
snprintf          139 uspace/lib/posix/include/libc/stdio.h extern int snprintf(char *, size_t, const char *, ...)
snprintf           93 uspace/lib/usbhost/src/bus.c 	snprintf(buf, sizeof(buf), "usb%u-%cs",
snprintf           72 uspace/lib/vt/src/vt100.c 	snprintf(control, MAX_CONTROL, "\033[%um", mode);
snprintf           90 uspace/lib/vt/src/vt100.c 	snprintf(control, MAX_CONTROL, "\033[%u;%u;%u;%u;%um",
snprintf          105 uspace/lib/vt/src/vt100.c 	snprintf(control, MAX_CONTROL, "\033[%" PRIun ";%" PRIun "f",
snprintf          273 uspace/srv/bd/sata_bd/sata_bd.c 		snprintf(name, 1024, "%s/%s", NAMESPACE, disk[i].dev_name);
snprintf          374 uspace/srv/fs/fat/fat_directory.c 		snprintf(number, sizeof(number), "%u", idx);
snprintf          962 uspace/srv/hid/console/console.c 			snprintf(vc, LOC_NAME_MAXLEN, "%s/vc%zu", NAMESPACE, i);
snprintf         1194 uspace/srv/locsrv/locsrv.c 	snprintf(null, LOC_NAME_MAXLEN, "%u", i);
HelenOS homepage, sources at GitHub