Searched refs:mesg (Results 1 - 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dwritev.c32 struct msghdr mesg; local
34 memset(&mesg, 0, sizeof(mesg));
35 mesg.msg_name = 0;
36 mesg.msg_namelen = 0;
37 mesg.msg_iov = iov;
38 mesg.msg_iovlen = iovlen;
39 mesg.msg_accrights = 0;
40 mesg.msg_accrightslen = 0;
41 return (sendmsg(fd, &mesg,
[all...]
/illumos-gate/usr/src/cmd/mesg/
H A DMakefile28 PROG= mesg
/illumos-gate/usr/src/cmd/power/
H A Dparse.c96 mesg(MDEBUG, "set_perm: \"%s\", value \"%s\"\n",
109 mesg(MDEBUG, "match_user: cmp (\"%s\", \"%s\")\n",
169 mesg(MERR, fmt, "di_init");
172 mesg(MERR, fmt, "di_prom_init");
181 mesg(MDEBUG, "get_estar_vers: %s prop found\n",
204 mesg(MEXIT, "cannot reset euid to %d, %s\n",
225 mesg(MEXIT, "cannot open %s\n", name);
227 mesg(MEXIT, "cannot stat %s\n", name);
232 mesg(MEXIT, "cannot allocate %u for \"%s\"\n", size + 1, name);
236 mesg(MEXI
[all...]
H A Dhandlers.c91 mesg(MDEBUG, "PM_SEARCH_LIST %s for %s,%s returns %d\n",
99 mesg(MDEBUG, "doing ioctl %s for %s ", pm_map(ioctl_cmd), keyword);
103 mesg(MERR, "%s %s failed, %s\n", keyword, behavior,
107 mesg(MDEBUG, "%s %s failed, %s\n", keyword, behavior,
112 mesg(MDEBUG, "succeeded\n");
152 mesg(MERR, "invalid cpupm behavior \"%s\"\n", behavior);
154 mesg(MERR, "invalid cpupm behavior \"%s %s\"\n",
160 mesg(MERR, "cpupm %s failed, %s\n",
192 mesg(MERR, "invalid cpu_deep_idle behavior \"%s\"\n", behavior);
196 mesg(MER
[all...]
H A Dconf.c107 mesg(int code, char *fmt, ...) function
186 mesg(MEXIT, err_fmt, gettext("cannot open"),
193 mesg(MEXIT, err_fmt, cpr_conf,
217 mesg(MEXIT, err_fmt, strerror(errno));
232 mesg(MDEBUG, "got powerd pid %ld\n", powerd_pid);
278 mesg(MERR, err_fmt, cpr_conf, strerror(errno));
300 mesg(MERR, "cannot deliver hangup to powerd\n");
323 mesg(MERR, "could not start %s\n", powerd);
352 mesg(MEXIT, "error writing tmp file, %s\n", strerror(errno));
382 mesg(MDEBU
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duuto85 mesg="Usage: uuto [-mp] files remote!user\n"
96 ?) gettext "$mesg" >&2
106 gettext "$mesg" >&2
123 gettext "$mesg" >&2
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp.c106 char mesg[256]; /* status-message is type text(255) */ local
115 (void) vsnprintf(mesg, sizeof (mesg), format, ap);
119 PAPI_ATTR_APPEND, "status-message", mesg);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c128 char mesg[BUFSIZE]; /* exactly what came back on ttyi */ variable
157 logit(char *mesg, ...)
167 if (mesg != NULL)
171 va_start(ap, mesg);
172 vfprintf(fp_log, mesg, ap);
185 error(int kind, char *mesg, ...)
191 * Called when we've run into some kind of program error. First *mesg is
195 * If mesg is NULL or *mesg is the NULL string nothing will be printed.
200 if ( mesg !
156 logit(char *mesg, ...) argument
183 error(int kind, char *mesg, ...) argument
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dmisc.c54 error(int kind, char *mesg, ...) argument
60 * Called when we've run into some kind of program error. *mesg is printed using
67 if ( mesg != NULL && *mesg != '\0' ) {
71 va_start(ap, mesg);
72 vfprintf(stderr, mesg, ap);
/illumos-gate/usr/src/cmd/mailx/
H A Dlist.c53 static int check(int mesg, int f);
56 static void mark(int mesg);
58 static int matchsubj(char *str, int mesg);
63 static int sender(char *str, int mesg);
64 static void unmark(int mesg);
417 check(int mesg, int f) argument
421 if (mesg < 1 || mesg > msgCount) {
422 printf(gettext("%d: Invalid message number\n"), mesg);
425 mp = &message[mesg
652 register int mesg; local
677 sender(char *str, int mesg) argument
693 matchsubj(char *str, int mesg) argument
730 mark(int mesg) argument
745 unmark(int mesg) argument
[all...]
H A Dcmd1.c74 register int n, mesg, flag; local
90 mesg = mp - &message[0];
96 mesg++;
101 printhead(mesg);
212 printhead(int mesg) argument
228 mp = &message[mesg-1];
301 printf("%c%c%3d ", curind, dispc, mesg);
441 register int mesg; local
478 mesg = *ip;
479 touch(mesg);
546 register int mesg; local
[all...]
H A Dedit.c97 int *ip, mesg, blank = 1; local
120 mesg = *ip;
121 touch(mesg);
122 mp = &message[mesg-1];
187 while (wait(&mesg) != pid)
H A Dcmd2.c262 register int *ip, mesg; local
289 mesg = *ip;
290 mp = &message[mesg-1];
309 touch(mesg);
552 int *ip, mesg; local
557 mesg = *ip;
558 touch(mesg);
559 mp = &message[mesg-1];
562 last = mesg;
590 int *ip, mesg; local
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dslowsend.c59 extern char mesg[];
107 fprintf(stderr, "%s", mesg); /* for csw */
H A Dpostio.c166 static char *mesgptr = NULL; /* printer msg starts here in mesg[] */
182 char mesg[MESGSIZE]; /* exactly what came back on ttyi */ variable
183 char *endmesg = NULL; /* end for readline() in mesg[] */
474 endmesg = mesg + sizeof mesg - 2; /* one byte from last pos. in mesg */
700 fprintf(stderr, "%s", mesg); /* for csw */
812 fprintf(stderr, "%s", mesg); /* for csw */
937 if (state != laststate || mesgptr != mesg || debug == ON)
938 logit("%s", mesg);
1107 logit(char *mesg, ...) argument
1127 error(int kind, char *mesg, ...) argument
[all...]
H A Difdef.h86 extern char mesg[]; /* exactly what came back on ttyi */
87 extern char *endmesg; /* one in front of last free slot in mesg */
88 extern int next; /* next character goes in mesg[next] */
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_trace.c155 __s_api_debug_pause(int priority, int st, const char *mesg) argument
157 if (mesg)
158 syslog(priority, "libsldap: Status: %d Mesg: %s", st, mesg);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcancel.c166 char *mesg = gettext("cancelled"); local
186 mesg = papiStatusString(status);
189 mesg = gettext(
194 fprintf(OUT, "%s-%d: %s\n", printer, id, mesg);
213 char *mesg = gettext("cancelled"); local
220 mesg = papiStatusString(status);
223 mesg = gettext(
235 printer, rid, mesg);
238 printer, id, mesg);
H A Dcommon.c52 char *mesg; local
54 mesg = papiServiceGetStatusMessage(svc);
56 if (mesg == NULL)
57 mesg = papiStatusString(status);
59 return (mesg);
266 char *mesg = gettext("cancelled"); local
293 mesg = papiStatusString(status);
296 fprintf(fp, "%s-%d: %s\n", printer, rid, mesg);
298 fprintf(fp, "%s-%d: %s\n", printer, id, mesg);
H A Dlpmove.c58 char *mesg = gettext("moved"); local
62 mesg = (char *)verbose_papi_message(svc, status);
65 fprintf(stderr, gettext("%s-%d to %s: %s\n"), src, id, dest, mesg);
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c70 static char mesg[3000]; variable
191 start = &mesg[0];
196 if (fgets(ptr, &mesg[sizeof (mesg)] - ptr, f) == NULL)
215 if (strncmp(mesg, "From ", 5) == 0) {
216 cp = &mesg[5];
428 i = strlen(mesg);
429 for (bp = mesg; --i >= 0; bp++) {
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c137 char mesg[BUFSIZ]; /* temp buffer #2 */ local
361 sprintf(mesg, "Network specification \"%s\" is not of type %s", netspec, LISTENTYPE);
362 nlsmesg(MM_ERROR, mesg);
377 sprintf(mesg, "Service code contains more than %d characters", SVC_CODE_SZ);
378 nlsmesg(MM_ERROR, mesg);
732 char mesg[BUFSIZ]; local
757 sprintf(mesg, "Entry for code \"%s\" has incorrect format", entry.svc_code);
758 nlsmesg(MM_WARNING, mesg);
796 sprintf(mesg, "Network specification \"%s\" is not of type %s", netspec, LISTENTYPE);
797 nlsmesg(MM_ERROR, mesg);
940 char mesg[BUFSIZ]; local
988 char mesg[BUFSIZ]; local
1131 char mesg[BUFSIZ]; local
[all...]
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dcmd.c77 static void mesg(int, char *, Cmd_info *);
129 mesg('c', gfile, cmd_info);
139 mesg('r', fileptr->ar_longname, cmd_info);
198 mesg('u', fileptr->ar_longname, cmd_info);
260 mesg('d', fptr->ar_longname, cmd_info);
273 mesg('u', fptr->ar_longname, cmd_info);
316 mesg('x', next->ar_rawname, cmd_info);
331 mesg('x', next->ar_longname, cmd_info);
393 mesg('m', fileptr->ar_longname, cmd_info);
410 mesg('
763 mesg(int c, char *file, Cmd_info *cmd_info) function
[all...]
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c117 char mesg[NLOG+1]; variable
276 mesg[0] = '\0';
282 (void) strcat(mesg, *argv++);
283 (void) strcat(mesg, " ");
286 mesg[i - 1] = '\0'; /* remove trailing blank */
406 if (*mesg)
408 shutdown_action, shutter, mesg);
555 if (*mesg)
556 (void) fprintf(termf, "\t...%s\r\n", mesg);
602 if (*mesg)
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dcopymt.c51 int mesg = 0; local
145 if (!mesg) {
147 mesg++;

Completed in 92 milliseconds

123