Home
last modified time | relevance | path

Searched refs:strlcat (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Ddwarf_ehe.c61 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_OMIT), FLAGSZ); in conv_dwarf_ehe()
63 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_ABSPTR), FLAGSZ); in conv_dwarf_ehe()
69 (void) strlcat(buf, MSG_ORIG(MSG_GBL_CSQBRKT), FLAGSZ); in conv_dwarf_ehe()
75 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_ULEB128), FLAGSZ); in conv_dwarf_ehe()
78 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_UDATA2), FLAGSZ); in conv_dwarf_ehe()
81 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_UDATA4), FLAGSZ); in conv_dwarf_ehe()
84 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_UDATA8), FLAGSZ); in conv_dwarf_ehe()
87 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_SLEB128), FLAGSZ); in conv_dwarf_ehe()
90 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_SDATA2), FLAGSZ); in conv_dwarf_ehe()
93 ret = strlcat(buf, MSG_ORIG(MSG_DWEHE_SDATA4), FLAGSZ); in conv_dwarf_ehe()
[all …]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c248 (void) strlcat(str, "[PRIMARY] ", sizeof (str)); in dhcp_status_reply_to_string()
251 (void) strlcat(str, "[BOOTP] ", sizeof (str)); in dhcp_status_reply_to_string()
254 (void) strlcat(str, "[FAILED] ", sizeof (str)); in dhcp_status_reply_to_string()
257 (void) strlcat(str, "[BUSY] ", sizeof (str)); in dhcp_status_reply_to_string()
260 (void) strlcat(str, "[V6] ", sizeof (str)); in dhcp_status_reply_to_string()
262 (void) strlcat(str, "\n", sizeof (str)); in dhcp_status_reply_to_string()
273 (void) strlcat(str, "(Began, Expires, Renew) = (", sizeof (str)); in dhcp_status_reply_to_string()
274 (void) strlcat(str, time_to_string(status->if_began), sizeof (str)); in dhcp_status_reply_to_string()
275 (void) strlcat(str, ", ", sizeof (str)); in dhcp_status_reply_to_string()
276 (void) strlcat(str, time_to_string(status->if_lease), sizeof (str)); in dhcp_status_reply_to_string()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_perror.c131 str += strlcat(str, clnt_sperrno(e.re_status), ERRBUFSZ); in clnt_sperror()
243 (void) strlcat(str, clnt_sperrno(rpc_createerr.cf_stat), ERRBUFSZ); in clnt_spcreateerror()
247 (void) strlcat(str, " - ", ERRBUFSZ); in clnt_spcreateerror()
248 (void) strlcat(str, netdir_sperror(), ERRBUFSZ); in clnt_spcreateerror()
252 (void) strlcat(str, " - ", ERRBUFSZ); in clnt_spcreateerror()
253 (void) strlcat(str, in clnt_spcreateerror()
259 (void) strlcat(str, " - ", ERRBUFSZ); in clnt_spcreateerror()
262 (void) strlcat(str, errstr, ERRBUFSZ); in clnt_spcreateerror()
270 (void) strlcat(str, " - ", ERRBUFSZ); in clnt_spcreateerror()
273 (void) strlcat(str, in clnt_spcreateerror()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dump.c948 (void) strlcat(buf2, buf1, sizeof (buf2)); in emlxs_dump_word_txtfile()
952 (void) strlcat(buf2, buf1, sizeof (buf2)); in emlxs_dump_word_txtfile()
1403 (void) strlcat(buf1, buf2, 8192); in emlxs_dump_parm_table()
1438 (void) strlcat(buf1, buf2, sizeof (buf1)); in emlxs_dump_model()
1442 (void) strlcat(buf1, "\n Description: ", sizeof (buf1)); in emlxs_dump_model()
1443 (void) strlcat(buf1, buf2, sizeof (buf1)); in emlxs_dump_model()
1477 (void) strlcat(buf1, buf2, sizeof (buf1)); in emlxs_dump_wwn()
1480 (void) strlcat(buf1, buf2, sizeof (buf1)); in emlxs_dump_wwn()
1483 (void) strlcat(buf1, "\n Node WWN: ", sizeof (buf1)); in emlxs_dump_wwn()
1487 (void) strlcat(buf1, buf2, sizeof (buf1)); in emlxs_dump_wwn()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrlcat.c27 #define strlcat ______strlcat macro
31 #undef strlcat
38 NoN(strlcat)
53 strlcat(register char* s, register const char* t, register size_t n)
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_bootflags.c148 (void) strlcat(initargs, "-m ", sizeof (initargs)); in bootflags()
149 (void) strlcat(initargs, scratch, in bootflags()
151 (void) strlcat(initargs, " ", sizeof (initargs)); in bootflags()
182 (void) strlcat(initargs, "-r ", sizeof (initargs)); in bootflags()
191 (void) strlcat(initargs, "-s ", sizeof (initargs)); in bootflags()
200 (void) strlcat(initargs, "-v ", sizeof (initargs)); in bootflags()
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm_devs.c174 if (strlcat(buf, psdo->psdo_path, buflen) >= buflen) { in pcieadm_show_devs_ofmt_cb()
180 (void) strlcat(buf, "--", buflen); in pcieadm_show_devs_ofmt_cb()
188 (void) strlcat(buf, "--", buflen); in pcieadm_show_devs_ofmt_cb()
196 (void) strlcat(buf, "--", buflen); in pcieadm_show_devs_ofmt_cb()
204 (void) strlcat(buf, "--", buflen); in pcieadm_show_devs_ofmt_cb()
212 (void) strlcat(buf, "--", buflen); in pcieadm_show_devs_ofmt_cb()
219 if (strlcat(buf, psdo->psdo_vendor, buflen) >= buflen) { in pcieadm_show_devs_ofmt_cb()
224 if (strlcat(buf, psdo->psdo_device, buflen) >= buflen) { in pcieadm_show_devs_ofmt_cb()
229 if (strlcat(buf, psdo->psdo_subvendor, buflen) >= buflen) { in pcieadm_show_devs_ofmt_cb()
234 if (strlcat(buf, psdo->psdo_subsystem, buflen) >= buflen) { in pcieadm_show_devs_ofmt_cb()
[all …]
/illumos-gate/usr/src/cmd/truss/
H A Dprint.c633 (void) strlcat(pri->iob_buf, in prt_iob()
713 (void) strlcat(str, "|PROT_READ", sizeof (pri->code_buf)); in mmap_protect()
715 (void) strlcat(str, "|PROT_WRITE", sizeof (pri->code_buf)); in mmap_protect()
717 (void) strlcat(str, "|PROT_EXEC", sizeof (pri->code_buf)); in mmap_protect()
748 (void) strlcat(str, "|MAP_FIXED", CBSIZE); in mmap_type()
750 (void) strlcat(str, "|MAP_RENAME", CBSIZE); in mmap_type()
752 (void) strlcat(str, "|MAP_NORESERVE", CBSIZE); in mmap_type()
754 (void) strlcat(str, "|MAP_ANON", CBSIZE); in mmap_type()
756 (void) strlcat(str, "|MAP_ALIGN", CBSIZE); in mmap_type()
758 (void) strlcat(str, "|MAP_TEXT", CBSIZE); in mmap_type()
[all …]
H A Dcodes.c2137 (void) strlcat(s, "|RCTL_LOCAL_NOACTION", in rctl_local_action()
2142 (void) strlcat(s, "|RCTL_LOCAL_SIGNAL", in rctl_local_action()
2147 (void) strlcat(s, "|RCTL_LOCAL_DENY", in rctl_local_action()
2170 (void) strlcat(s, "|RCTL_LOCAL_MAXIMAL", in rctl_local_flags()
2237 (void) strlcat(str, "|O_NDELAY", sizeof (pri->code_buf)); in openarg()
2239 (void) strlcat(str, "|O_APPEND", sizeof (pri->code_buf)); in openarg()
2241 (void) strlcat(str, "|O_SYNC", sizeof (pri->code_buf)); in openarg()
2243 (void) strlcat(str, "|O_DSYNC", sizeof (pri->code_buf)); in openarg()
2245 (void) strlcat(str, "|O_NONBLOCK", sizeof (pri->code_buf)); in openarg()
2247 (void) strlcat(str, "|O_CREAT", sizeof (pri->code_buf)); in openarg()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputprmpt.c62 (void) strlcat(buffer, "\\ [", sizeof (buffer)); in putprmpt()
64 (void) strlcat(buffer, choices[i], sizeof (buffer)); in putprmpt()
65 (void) strlcat(buffer, ",", sizeof (buffer)); in putprmpt()
67 (void) strlcat(buffer, ckquit ? "?,q] " : "?] ", sizeof (buffer)); in putprmpt()
/illumos-gate/usr/src/cmd/genmsg/
H A Dutil.c624 (void) strlcat(msg, ptr, sizeof (msg)); in read_msgfile()
632 (void) strlcat(msg, ptr, sizeof (msg)); in read_msgfile()
757 (void) strlcat(buf, msg, sizeof (buf)); in makeup_msg()
758 (void) strlcat(buf, msg, sizeof (buf)); in makeup_msg()
759 (void) strlcat(buf, msg, sizeof (buf)); in makeup_msg()
760 (void) strlcat(buf, "\\n", sizeof (buf)); in makeup_msg()
762 (void) strlcat(buf, msg, sizeof (buf)); in makeup_msg()
763 (void) strlcat(buf, msg, sizeof (buf)); in makeup_msg()
764 (void) strlcat(buf, msg, sizeof (buf)); in makeup_msg()
774 (void) strlcat(buf, premsg, sizeof (buf)); in makeup_msg()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_uef.c767 if (strlcat(libname, "\n", MAXPATHLEN) >= MAXPATHLEN) { in install_uef_lib()
1330 if (strlcat(buf, SEP_COLON, BUFSIZ) >= BUFSIZ) { in uent2str()
1335 if (strlcat(buf, EF_ENABLED, BUFSIZ) >= BUFSIZ) { in uent2str()
1342 if (strlcat(buf, phead->name, BUFSIZ) >= BUFSIZ) { in uent2str()
1349 if (strlcat(buf, SEP_COMMA, BUFSIZ) in uent2str()
1358 if (strlcat(buf, SEP_COLON, BUFSIZ) >= BUFSIZ) { in uent2str()
1363 if (strlcat(buf, EF_DISABLED, BUFSIZ) >= BUFSIZ) { in uent2str()
1369 if (strlcat(buf, phead->name, BUFSIZ) >= BUFSIZ) { in uent2str()
1376 if (strlcat(buf, SEP_COMMA, BUFSIZ) in uent2str()
1387 if (strlcat(buf, (tok1_present ? SEP_SEMICOLON : SEP_COLON), in uent2str()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx_mm.c486 (void) strlcat(linkstr, "2500Mbps, ", sizeof (linkstr)); in bnx_display_link_msg()
489 (void) strlcat(linkstr, "1000Mbps, ", sizeof (linkstr)); in bnx_display_link_msg()
492 (void) strlcat(linkstr, "100Mbps, ", sizeof (linkstr)); in bnx_display_link_msg()
495 (void) strlcat(linkstr, "10Mbps, ", sizeof (linkstr)); in bnx_display_link_msg()
498 (void) strlcat(linkstr, "0Mbps, ", sizeof (linkstr)); in bnx_display_link_msg()
502 (void) strlcat(linkstr, "Full Duplex", in bnx_display_link_msg()
505 (void) strlcat(linkstr, "Half Duplex", in bnx_display_link_msg()
511 (void) strlcat(linkstr, ", ", sizeof (linkstr)); in bnx_display_link_msg()
513 (void) strlcat(linkstr, "Tx", sizeof (linkstr)); in bnx_display_link_msg()
515 (void) strlcat(linkstr, " & Rx", in bnx_display_link_msg()
[all …]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_convert.c93 (void) strlcat(buf, "|", buflen); in _cvt_printer_to_entry()
99 if (strlcat(buf, ":", buflen) >= buflen) { in _cvt_printer_to_entry()
112 (void) strlcat(buf, "\\\n\t:", buflen); in _cvt_printer_to_entry()
114 (void) strlcat(buf, "=", buflen); in _cvt_printer_to_entry()
116 if (strlcat(buf, ":", buflen) >= buflen) { in _cvt_printer_to_entry()
H A Dns_bsd_addr.c85 (void) strlcat(buf, ",", sizeof (buf)); in bsd_addr_to_string()
87 if (strlcat(buf, addr->printer, sizeof (buf)) >= sizeof (buf)) { in bsd_addr_to_string()
92 (void) strlcat(buf, ",", sizeof (buf)); in bsd_addr_to_string()
93 if (strlcat(buf, addr->extension, sizeof (buf)) in bsd_addr_to_string()
137 (void) strlcat(buf, ",", sizeof (buf)); in list_to_string()
138 if (strlcat(buf, *list, sizeof (buf)) >= sizeof (buf)) { in list_to_string()
161 (void) strlcat(buf, ",", sizeof (buf)); in internal_list_to_string()
162 if (strlcat(buf, (*list)->name, sizeof (buf)) >= sizeof (buf)) { in internal_list_to_string()
/illumos-gate/usr/src/lib/libproc/common/
H A DPzone.c271 (void) strlcat(zpath, "/root", sizeof (zpath)); in Pzoneroot()
397 (void) strlcat(tmp2, "/", sizeof (tmp2) - 1); in Plofspath()
398 (void) strlcat(tmp2, &p[1], sizeof (tmp2) - 1); in Plofspath()
538 (void) strlcat(tmp, "/", sizeof (tmp)); in Pzonepath()
539 (void) strlcat(tmp, path, sizeof (tmp)); in Pzonepath()
603 (void) strlcat(zpath, "/", sizeof (zpath)); in Pzonepath()
604 (void) strlcat(zpath, tmp, sizeof (zpath)); in Pzonepath()
626 (void) strlcat(zpath, "/", sizeof (zpath)); in Pzonepath()
627 (void) strlcat(zpath, tmp, sizeof (zpath)); in Pzonepath()
652 (void) strlcat(tmp, zpath, sizeof (tmp)); in Pzonepath()
[all …]
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_gen.c534 (void) strlcat(flags, "|NDR_F_CONFORMANT", NDLBUFSZ); in generate_typeinfo_typeinfo()
537 (void) strlcat(flags, "|NDR_F_FAKE", NDLBUFSZ); in generate_typeinfo_typeinfo()
541 (void) strlcat(flags, "|NDR_F_OPERATION", NDLBUFSZ); in generate_typeinfo_typeinfo()
543 (void) strlcat(flags, "|NDR_F_STRUCT", NDLBUFSZ); in generate_typeinfo_typeinfo()
548 (void) strlcat(flags, "|NDR_F_INTERFACE", NDLBUFSZ); in generate_typeinfo_typeinfo()
550 (void) strlcat(flags, "|NDR_F_UNION", NDLBUFSZ); in generate_typeinfo_typeinfo()
554 (void) strlcat(flags, "|NDR_F_STRING", NDLBUFSZ); in generate_typeinfo_typeinfo()
556 (void) strlcat(flags, "|NDR_F_ARRAY", NDLBUFSZ); in generate_typeinfo_typeinfo()
558 (void) strlcat(flags, "|NDR_F_POINTER", NDLBUFSZ); in generate_typeinfo_typeinfo()
/illumos-gate/usr/src/cmd/bnu/
H A Duuxqt.c561 (void) strlcat(_Cmd, whitesp, sizeof (_Cmd)); in chkpart()
562 (void) strlcat(_Cmd, prm, sizeof (_Cmd)); in chkpart()
569 (void) strlcat(_Cmd, whitesp, sizeof (_Cmd)); in chkpart()
570 (void) strlcat(_Cmd, prm, sizeof (_Cmd)); in chkpart()
585 (void) strlcat(_Cmd, whitesp, sizeof (_Cmd)); in chkpart()
586 (void) strlcat(_Cmd, savechar, sizeof (_Cmd)); in chkpart()
595 (void) strlcat(_Cmd, savechar, sizeof (_Cmd)); in chkpart()
600 (void) strlcat(_Cmd, whitesp, sizeof (_Cmd)); in chkpart()
601 (void) strlcat(_Cmd, prm, sizeof (_Cmd)); in chkpart()
616 (void) strlcat(_Cmd, whitesp, sizeof (_Cmd)); in chkpart()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/
H A Dipmpstat.c513 (void) strlcat(buf, " ", bufsize); in sfunc_addr_outbound()
514 (void) strlcat(buf, ifinfop->if_name, bufsize); in sfunc_addr_outbound()
594 (void) strlcat(active, " ", bufsize); in sfunc_group_interfaces()
595 (void) strlcat(active, ifinfop->if_name, bufsize); in sfunc_group_interfaces()
598 (void) strlcat(inactive, " ", bufsize); in sfunc_group_interfaces()
599 (void) strlcat(inactive, ifinfop->if_name, bufsize); in sfunc_group_interfaces()
602 (void) strlcat(unusable, " ", bufsize); in sfunc_group_interfaces()
603 (void) strlcat(unusable, ifinfop->if_name, bufsize); in sfunc_group_interfaces()
613 (void) strlcat(buf, " ", bufsize); in sfunc_group_interfaces()
615 (void) strlcat(buf, "(", bufsize); in sfunc_group_interfaces()
[all …]
/illumos-gate/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c120 if ((strlcat(buf, FS_TOKEN_START_STR, buflen) >= buflen) || in reparse_unparse()
121 (strlcat(buf, stype, buflen) >= buflen) || in reparse_unparse()
122 (strlcat(buf, ":", buflen) >= buflen) || in reparse_unparse()
124 (strlcat(buf, val, buflen) >= buflen) || in reparse_unparse()
125 (strlcat(buf, FS_TOKEN_END_STR, buflen) >= buflen)) { in reparse_unparse()
135 if (strlcat(buf, FS_REPARSE_TAG_END_STR, buflen) >= buflen) { in reparse_unparse()
/illumos-gate/usr/src/cmd/stat/common/
H A Dwalkers.c190 (void) strlcat(buf, ", ", LIST_SIZE); in add_nr_to_list()
192 (void) strlcat(buf, tmp, LIST_SIZE); in add_nr_to_list()
244 (void) strlcat(buf, ", ", LIST_SIZE); in get_child_list()
245 (void) strlcat(buf, "t", LIST_SIZE); in get_child_list()
246 (void) strlcat(buf, pos->is_id.tid, LIST_SIZE); in get_child_list()
247 (void) strlcat(buf, "d", LIST_SIZE); in get_child_list()
250 (void) strlcat(buf, tmp, LIST_SIZE); in get_child_list()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp.c1255 VERIFY3U(len, >, strlcat(errmsg, ": ", len)); in zcp_args_error()
1256 VERIFY3U(len, >, strlcat(errmsg, fname, len)); in zcp_args_error()
1257 VERIFY3U(len, >, strlcat(errmsg, "{", len)); in zcp_args_error()
1259 VERIFY3U(len, >, strlcat(errmsg, "<", len)); in zcp_args_error()
1260 VERIFY3U(len, >, strlcat(errmsg, pargs[i].za_name, len)); in zcp_args_error()
1261 VERIFY3U(len, >, strlcat(errmsg, "(", len)); in zcp_args_error()
1262 VERIFY3U(len, >, strlcat(errmsg, in zcp_args_error()
1264 VERIFY3U(len, >, strlcat(errmsg, ")>", len)); in zcp_args_error()
1266 VERIFY3U(len, >, strlcat(errmsg, ", ", len)); in zcp_args_error()
1270 VERIFY3U(len, >, strlcat(errmsg, kwargs[i].za_name, len)); in zcp_args_error()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c892 strlcat(buffer, "no", buflen); in papiAttributeToString()
894 strlcat(buffer, "No", buflen); in papiAttributeToString()
896 rc = strlcat(buffer, attribute->name, buflen); in papiAttributeToString()
898 strlcat(buffer, attribute->name, buflen); in papiAttributeToString()
899 rc = strlcat(buffer, "=", buflen); in papiAttributeToString()
908 rc = strlcat(buffer, values[i]->string, buflen); in papiAttributeToString()
915 rc = strlcat(buffer, string, buflen); in papiAttributeToString()
920 rc = strlcat(buffer, values[i]->boolean ? in papiAttributeToString()
933 rc = strlcat(buffer, string, buflen); in papiAttributeToString()
944 rc = strlcat(buffer, string, buflen); in papiAttributeToString()
[all …]
/illumos-gate/usr/src/common/secflags/
H A Dsecflags.c226 (void) strlcat(buf, ",", buflen); in secflags_to_str()
227 (void) strlcat(buf, fd->name, buflen); in secflags_to_str()
238 (void) strlcat(buf, ",", buflen); in secflags_to_str()
239 (void) strlcat(buf, hexbuf, buflen); in secflags_to_str()
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c232 (void) strlcat(*np, inst->ri_i.i_fmri, sz); in set_smf_env()
240 (void) strlcat(*np, method, sz); in set_smf_env()
247 (void) strlcat(*np, SCF_SERVICE_STARTD, sz); in set_smf_env()
253 (void) strlcat(*np, zonename, sz); in set_smf_env()

12345678910>>...17