Searched defs:msgbuf (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Ddebug.c46 char msgbuf[BUFSIZ]; local
53 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmt, args);
57 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmtbuf, args);
61 syslog(LOG_DEBUG, msgbuf);
63 (void) fprintf(stderr, "%s\n", msgbuf);
87 char msgbuf[BUFSIZ]; local
95 (void) vsnprintf(msgbuf, sizeof (msgbuf), fm
[all...]
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_reass.c134 char *msgbuf = NULL; local
140 msgbuf = (char *)malloc(*msglen + 1);
141 if (msgbuf == NULL)
143 (void) strncpy(msgbuf, msg, *msglen);
144 msgbuf[*msglen] = '\0';
145 msg = msgbuf;
159 if (msgbuf != NULL)
160 free(msgbuf);
198 if (msgbuf != NULL)
199 free(msgbuf);
[all...]
H A Dsip_itf.c426 char *msgbuf = NULL; local
439 msgbuf = (char *)malloc(msglen + 1);
440 if (msgbuf == NULL) {
444 (void) strncpy(msgbuf, msgstr, msglen);
445 msgbuf[msglen] = '\0';
446 msgstr = msgbuf;
450 if (msgbuf != NULL)
451 free(msgbuf);
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c100 char msgbuf[100]; local
102 (void) sprintf(msgbuf, err_sum, total_errors);
103 mtest_message(handle, msgbuf);
111 char msgbuf[100]; local
114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno);
115 mtest_message(handle, msgbuf);
124 (void) sprintf(msgbuf, mem_err_msg, offset,
126 mtest_message(handle, msgbuf);
143 char msgbuf[100]; local
166 (void) sprintf(msgbuf, wr_err_ms
298 char msgbuf[100]; local
427 char msgbuf[100]; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock_deadlock.c474 char *msgbuf; local
482 if ((ret = __os_malloc(MSGBUF_LEN, NULL, &msgbuf)) != 0)
489 sprintf(msgbuf, /* Waiter. */
493 sprintf(msgbuf, "%s %lx", msgbuf,
495 (void)sprintf(msgbuf,
496 "%s %lu", msgbuf, (u_long)idmap[i].last_lock);
497 __db_err(dbenv, msgbuf);
500 __os_free(msgbuf, MSGBUF_LEN);
/osnet-11/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c660 char msgbuf[MSGBUFLEN]; local
683 sdsp->ds_qual_code, msgbuf, MSGBUFLEN));
702 rq->es_qual_code, msgbuf, MSGBUFLEN));
/osnet-11/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c698 const void *msgbuf, size_t msglen, const dlpi_sendinfo_t *sendp)
709 return (i_dlpi_strputmsg(dip, NULL, msgbuf, msglen, 0));
750 return (i_dlpi_strputmsg(dip, &req, msgbuf, msglen, 0));
754 dlpi_recv(dlpi_handle_t dh, void *saddrp, size_t *saddrlenp, void *msgbuf, argument
772 retval = i_dlpi_strgetmsg(dip, msec, NULL, 0, 0, 0, msgbuf,
785 DL_UNITDATA_IND, DL_UNITDATA_IND_SIZE, msgbuf,
697 dlpi_send(dlpi_handle_t dh, const void *daddrp, size_t daddrlen, const void *msgbuf, size_t msglen, const dlpi_sendinfo_t *sendp) argument
/osnet-11/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c104 char msgbuf[BUFSIZ]; local
107 (void) vsnprintf(msgbuf, BUFSIZ, fmt, ap);
111 "ERROR on line %u:\n%s\n"), lineno, msgbuf);
113 warnx(dgettext(TEXT_DOMAIN, "ERROR: %s\n"), msgbuf);

Completed in 1172 milliseconds