HomeSort by relevance Sort by last modified time
    Searched refs:msgbuf (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /onnv/onnv-gate/usr/src/cmd/lp/lib/msgs/
mrecv.c 40 mrecv (msgbuf, size)
41 char *msgbuf;
50 n = mread(lp_Md, msgbuf, size);
62 return(getmessage(msgbuf, I_GET_TYPE));
msend.c 41 int msend ( char * msgbuf )
43 int msend (msgbuf)
44 char *msgbuf;
51 if ((rval = mwrite(lp_Md, msgbuf)) < 0)
streamio.c 104 int read3_2 ( MESG * md, char *msgbuf, int size )
113 switch (read_fifo(md->readfd, msgbuf, size))
132 if ((type = stoh(msgbuf + HEAD_TYPE)) < 0 || LAST_MESSAGE < type)
140 (void)memcpy (AuthCode, msgbuf + HEAD_AUTHCODE, HEAD_AUTHCODE_LEN);
148 size = stoh(msgbuf + HEAD_SIZE) - EXCESS_3_2_LEN;
149 memmove(msgbuf, msgbuf + HEAD_SIZE, size);
150 (void) htos(msgbuf + MESG_SIZE, size);
154 int write3_2 ( MESG * md, char * msgbuf, int size )
160 (void) memmove(tmpbuf + HEAD_SIZE, msgbuf, size)
    [all...]
mread.c 47 ** EINVAL Bad value for md or msgbuf.
58 int mread ( MESG * md, char * msgbuf, int size )
60 int mread ( md, msgbuf, size )
62 char *msgbuf;
71 if (md == NULL || msgbuf == NULL)
87 dat.buf = msgbuf;
118 if (read3_2(md, msgbuf, size) < 0)
123 return((int)msize(msgbuf));
mwrite.c 43 static int _mwrite ( MESG * md , char * msgbuf , int );
87 int mwrite ( MESG * md, char * msgbuf )
99 if (msgbuf == NULL)
105 size = stoh(msgbuf);
107 if (LAST_MESSAGE < stoh(msgbuf + MESG_TYPE))
115 if (_mwrite(md, msgbuf, size) == 0)
133 (void) memcpy(p->dat->buf, msgbuf, size);
163 int _mwrite ( MESG * md, char * msgbuf , int size )
182 dat.buf = msgbuf;
193 switch (write3_2(md, msgbuf, size)
    [all...]
mdisconnect.c 113 char *msgbuf = 0; local
121 if ((msgbuf = (char *)Malloc((unsigned)size)))
123 (void)putmessage (msgbuf, S_GOODBYE);
124 (void)msend (msgbuf);
125 Free (msgbuf);
  /onnv/onnv-gate/usr/src/lib/libcryptoutil/common/
debug.c 46 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), fmt, args)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpadmin/
send_message.c 66 char msgbuf[MSGMAX]; local
78 (void)_putmessage (msgbuf, type, ap);
82 if (msend(msgbuf) == -1) {
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
log.h 38 int msgbuf(uintptr_t, uint_t, int, const mdb_arg_t *);
  /onnv/onnv-gate/usr/src/lib/cfgadm_plugins/ac/common/
mema_test.c 100 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_msg, pageno)
298 char msgbuf[100]; local
427 char msgbuf[100]; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/lp/cmd/
lpshut.c 63 char msgbuf[MSGMAX]; local
92 (void)putmessage (msgbuf, S_SHUTDOWN, 0);
94 (void)putmessage (msgbuf, S_SHUTDOWN, 1);
96 if (msend(msgbuf) == -1) {
100 if (mrecv(msgbuf, sizeof(msgbuf)) == -1) {
105 mtype = getmessage(msgbuf, R_SHUTDOWN, &status);
  /onnv/onnv-gate/usr/src/cmd/svr4pkg/libinst/
depchk.c 70 char msgbuf[4096]; local
131 (void) snprintf(msgbuf, sizeof (msgbuf),
138 (void) snprintf(msgbuf, sizeof (msgbuf),
147 err = (a_dck[i].depcklFunc)(msgbuf,
151 packageName, msgbuf);
163 msgbuf);
164 ptext(stderr, "\\n%s", msgbuf);
299 char msgbuf[4096] local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/drd/
drd_log.c 98 char msgbuf[DRD_MAX_MSG_LEN]; local
104 (void) vsnprintf(msgbuf, DRD_MAX_MSG_LEN, fmt, vap);
111 (void) fprintf(stderr, "%s%s%s\n", timebuf, log_prio_str[prio], msgbuf);
114 syslog(prio, msgbuf);
  /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/
msgsys.c 58 msgrcv(int msqid, struct msgbuf *msgp, int msgsz, long msgtyp, int msgflg)
65 msgsnd(int msqid, struct msgbuf *msgp, int msgsz, int msgflg)
80 struct msgbuf *msgp;
99 msgp = va_arg(ap, struct msgbuf *);
107 msgp = va_arg(ap, struct msgbuf *);
  /onnv/onnv-gate/usr/src/cmd/bnu/
uuxqt.c 843 msgbuf[BUFSIZ]; local
1097 (void) snprintf(msgbuf, sizeof (msgbuf),
1103 (void) snprintf(msgbuf, sizeof (msgbuf),
1113 incmd, msgbuf, "");
1115 uucpst(Rmtname, _Sfile, "", incmd, msgbuf);
1150 (void) strcpy(msgbuf, "exited normally");
1156 (void) snprintf(msgbuf, sizeof (msgbuf),
    [all...]
limits.c 70 char msgbuf[BUFSIZ]; /* place to build messages */ local
76 sprintf(msgbuf, "fopen of %s failed with errno=%%d\n", LIMITS);
77 DEBUG(5, msgbuf, errno);
  /onnv/onnv-gate/usr/src/cmd/fps/fpsd/
fpsd_log.c 100 char msgbuf[FPSD_MAX_MSG_HDR_LEN]; local
108 (void) snprintf(msgbuf, sizeof (msgbuf), "%s %s %s ",
115 (void) fprintf(stderr, PRINT_BUFFER, msgbuf);
  /onnv/onnv-gate/usr/src/lib/libbc/inc/include/sys/
msg.h 71 struct msgbuf { struct
  /onnv/onnv-gate/usr/src/cmd/ldmad/
ldma_log.c 98 char msgbuf[LDMA_MAX_MSG_LEN]; local
105 (void) vsnprintf(msgbuf, LDMA_MAX_MSG_LEN, fmt, vap);
113 log_prio_str[prio], msgbuf);
117 syslog(prio, msgbuf);
  /onnv/onnv-gate/usr/src/cmd/listen/
nlps_serv.c 94 char msgbuf[BUFSIZ]; variable
111 sprintf(msgbuf, "%s/%s", Altbasedir, LOGNAME);
112 if (!(Logfp = fopen(msgbuf, "a+"))) {
117 sprintf(msgbuf, "%s/%s", Altbasedir, PDEBUGNAME);
118 if (!(Debugfp = fopen(msgbuf, "a"))) {
505 sprintf(msgbuf,"NLPS (%s) passfd: %s",
508 nls_reply(NLSSTART, msgbuf);
509 logmessage(msgbuf);
524 sprintf(msgbuf,"%s/%s",Basedir,dbp->dbf_svc_code);
526 if ((i = doconfig(0, msgbuf, NOASSIGN)) != 0)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libsip/common/
sip_reass.c 134 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...]
  /onnv/onnv-gate/usr/src/cmd/fmtmsg/
main.c 216 static char msgbuf[256]; /* Buf for messages */
683 (void) snprintf(msgbuf, sizeof (msgbuf),
685 (void) fmtmsg(CLASS, labelbuf, MM_ERROR, msgbuf,
722 (void) snprintf(msgbuf, sizeof (msgbuf),
724 (void) fmtmsg(CLASS, labelbuf, MM_ERROR, msgbuf,
787 (void) snprintf(msgbuf, sizeof (msgbuf),
789 (void) fmtmsg(CLASS, labelbuf, MM_ERROR, msgbuf,
215 static char msgbuf[256]; \/* Buf for messages *\/ variable
    [all...]
  /onnv/onnv-gate/usr/src/cmd/lp/model/
lp.tell.c 137 msgbuf[MSGMAX], local
332 (void)putmessage ( msgbuf, S_PAPER_CHANGED, printer, trayNum,
342 (void)putmessage (msgbuf,S_SEND_FAULT,printer,key,bufPtr);
355 (void)putmessage( msgbuf,S_CLEAR_FAULT,printer,clearKey,
409 (void)putmessage(msgbuf, S_CLEAR_FAULT, printer,
414 (void)putmessage(msgbuf, S_SEND_FAULT, printer,
420 if (msend(msgbuf) == -1)
422 if (mrecv(msgbuf, sizeof(msgbuf)) == -1)
424 mtype = getmessage(msgbuf, mesgRetType, &status)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
snoop_slp.c 48 static char *msgbuf; /* message buffer for summary mode */ variable
309 strncat(msgbuf, p, (retlength > MAXSUMLEN ? MAXSUMLEN : retlength)); \
694 msgbuf = msgbuf_real;
729 "%s [partial TCP message]", msgbuf); local
731 sprintf(get_sum_line(), "%s [OVERFLOW]", msgbuf); local
733 sprintf(get_sum_line(), "%s [CORRUPTED MESSAGE]", msgbuf); local
737 sprintf(get_sum_line(), "%s +%d", msgbuf, msglength); local
740 sprintf(get_sum_line(), "%s", msgbuf); local
781 sprintf(msgbuf, "SLP V2 %s [%d%s] ",
786 msgend = msgbuf + strlen(msgbuf)
1445 msgbuf); local
1447 sprintf(get_sum_line(), "%s [OVERFLOW]", msgbuf); local
1449 sprintf(get_sum_line(), "%s [CORRUPTED MESSAGE]", msgbuf); local
1453 sprintf(get_sum_line(), "%s +%d", msgbuf, msglength); local
1456 sprintf(get_sum_line(), "%s", msgbuf); local
1683 char msgbuf[128]; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
log.c 370 char msgbuf[MSGBUFSIZ]; local
432 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args);
434 vsnprintf(msgbuf, sizeof(msgbuf),
439 fprintf(stderr, "%s\r\n", msgbuf);
442 syslog(pri, "%.500s", msgbuf);

Completed in 6199 milliseconds

1 2 3 4