/titanic_50/usr/src/cmd/power/ |
H A D | parse.c | 96 mesg(MDEBUG, "set_perm: \"%s\", value \"%s\"\n", in set_perm() 109 mesg(MDEBUG, "match_user: cmp (\"%s\", \"%s\")\n", in set_perm() 169 mesg(MERR, fmt, "di_init"); in lookup_estar_vers() 172 mesg(MERR, fmt, "di_prom_init"); in lookup_estar_vers() 181 mesg(MDEBUG, "get_estar_vers: %s prop found\n", in lookup_estar_vers() 204 mesg(MEXIT, "cannot reset euid to %d, %s\n", in pmc_open() 225 mesg(MEXIT, "cannot open %s\n", name); in get_conf_data() 227 mesg(MEXIT, "cannot stat %s\n", name); in get_conf_data() 232 mesg(MEXIT, "cannot allocate %u for \"%s\"\n", size + 1, name); in get_conf_data() 236 mesg(MEXIT, "read error, expect %u, got %d, file \"%s\"\n", in get_conf_data() [all …]
|
H A D | handlers.c | 91 mesg(MDEBUG, "PM_SEARCH_LIST %s for %s,%s returns %d\n", in isonlist() 99 mesg(MDEBUG, "doing ioctl %s for %s ", pm_map(ioctl_cmd), keyword); in do_ioctl() 103 mesg(MERR, "%s %s failed, %s\n", keyword, behavior, in do_ioctl() 107 mesg(MDEBUG, "%s %s failed, %s\n", keyword, behavior, in do_ioctl() 112 mesg(MDEBUG, "succeeded\n"); in do_ioctl() 152 mesg(MERR, "invalid cpupm behavior \"%s\"\n", behavior); in cpupm() 154 mesg(MERR, "invalid cpupm behavior \"%s %s\"\n", in cpupm() 160 mesg(MERR, "cpupm %s failed, %s\n", in cpupm() 192 mesg(MERR, "invalid cpu_deep_idle behavior \"%s\"\n", behavior); in cpuidle() 196 mesg(MERR, "cpu_deep_idle %s failed, %s\n", in cpuidle() [all …]
|
H A D | conf.c | 107 mesg(int code, char *fmt, ...) in mesg() function 186 mesg(MEXIT, err_fmt, gettext("cannot open"), in get_cpr_info() 193 mesg(MEXIT, err_fmt, cpr_conf, in get_cpr_info() 217 mesg(MEXIT, err_fmt, strerror(errno)); in pm_rem_reset() 232 mesg(MDEBUG, "got powerd pid %ld\n", powerd_pid); in get_powerd_pid() 278 mesg(MERR, err_fmt, cpr_conf, strerror(errno)); in update_cprconfig() 300 mesg(MERR, "cannot deliver hangup to powerd\n"); in restart_powerd() 323 mesg(MERR, "could not start %s\n", powerd); in restart_powerd() 352 mesg(MEXIT, "error writing tmp file, %s\n", strerror(errno)); in tmp_write() 382 mesg(MDEBUG, "filter: set \"%s\", selected %d\n", in filter() [all …]
|
/titanic_50/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 32 struct msghdr mesg; in __writev() local 34 memset(&mesg, 0, sizeof(mesg)); in __writev() 35 mesg.msg_name = 0; in __writev() 36 mesg.msg_namelen = 0; in __writev() 37 mesg.msg_iov = iov; in __writev() 38 mesg.msg_iovlen = iovlen; in __writev() 39 mesg.msg_accrights = 0; in __writev() 40 mesg.msg_accrightslen = 0; in __writev() 41 return (sendmsg(fd, &mesg, 0)); in __writev()
|
/titanic_50/usr/src/cmd/lp/filter/postscript/postcomm/ |
H A D | postcomm.c | 128 char mesg[BUFSIZE]; /* exactly what came back on ttyi */ variable 156 logit(char *mesg, ...) in logit() argument 166 if (mesg != NULL) in logit() 170 va_start(ap, mesg); in logit() 171 vfprintf(fp_log, mesg, ap); in logit() 183 error(int kind, char *mesg, ...) in error() argument 198 if ( mesg != NULL && *mesg != '\0' ) { in error() 202 va_start(ap, mesg); in error() 203 vfprintf(fp_log, mesg, ap); in error() 453 fprintf(stderr, "%s", mesg); /* for csw */ in filter() [all …]
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | list.c | 53 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) in check() argument 421 if (mesg < 1 || mesg > msgCount) { in check() 422 printf(gettext("%d: Invalid message number\n"), mesg); in check() 425 mp = &message[mesg-1]; in check() 427 printf(gettext("%d: Inappropriate message\n"), mesg); in check() [all …]
|
H A D | cmd1.c | 74 register int n, mesg, flag; in headers() local 90 mesg = mp - &message[0]; in headers() 96 mesg++; in headers() 101 printhead(mesg); in headers() 212 printhead(int mesg) in printhead() argument 228 mp = &message[mesg-1]; in printhead() 301 printf("%c%c%3d ", curind, dispc, mesg); in printhead() 441 register int mesg; in type1() local 478 mesg = *ip; in type1() 479 touch(mesg); in type1() [all …]
|
H A D | cmd2.c | 262 register int *ip, mesg; in savemsglist() local 289 mesg = *ip; in savemsglist() 290 mp = &message[mesg-1]; in savemsglist() 309 touch(mesg); in savemsglist() 552 int *ip, mesg; in delm() local 557 mesg = *ip; in delm() 558 touch(mesg); in delm() 559 mp = &message[mesg-1]; in delm() 562 last = mesg; in delm() 590 int *ip, mesg; in undelete() local [all …]
|
H A D | edit.c | 97 int *ip, mesg, blank = 1; in edit1() local 120 mesg = *ip; in edit1() 121 touch(mesg); in edit1() 122 mp = &message[mesg-1]; in edit1() 187 while (wait(&mesg) != pid) in edit1()
|
H A D | cmd4.c | 62 register int *ip, mesg; in dopipe() local 138 mesg = *ip; in dopipe() 139 touch(mesg); in dopipe() 140 mp = &message[mesg-1]; in dopipe()
|
/titanic_50/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | cancel.c | 166 char *mesg = gettext("cancelled"); in main() local 186 mesg = papiStatusString(status); in main() 189 mesg = gettext( in main() 194 fprintf(OUT, "%s-%d: %s\n", printer, id, mesg); in main() 213 char *mesg = gettext("cancelled"); in main() local 220 mesg = papiStatusString(status); in main() 223 mesg = gettext( in main() 235 printer, rid, mesg); in main() 238 printer, id, mesg); in main()
|
H A D | common.c | 52 char *mesg; in verbose_papi_message() local 54 mesg = papiServiceGetStatusMessage(svc); in verbose_papi_message() 56 if (mesg == NULL) in verbose_papi_message() 57 mesg = papiStatusString(status); in verbose_papi_message() 59 return (mesg); in verbose_papi_message() 266 char *mesg = gettext("cancelled"); in cancel_job() local 293 mesg = papiStatusString(status); in cancel_job() 296 fprintf(fp, "%s-%d: %s\n", printer, rid, mesg); in cancel_job() 298 fprintf(fp, "%s-%d: %s\n", printer, id, mesg); in cancel_job()
|
H A D | lpmove.c | 58 char *mesg = gettext("moved"); in move_job() local 62 mesg = (char *)verbose_papi_message(svc, status); in move_job() 65 fprintf(stderr, gettext("%s-%d to %s: %s\n"), src, id, dest, mesg); in move_job()
|
/titanic_50/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | postio.c | 182 char mesg[MESGSIZE]; /* exactly what came back on ttyi */ variable 474 endmesg = mesg + sizeof mesg - 2; /* one byte from last pos. in mesg */ in initialize() 700 fprintf(stderr, "%s", mesg); /* for csw */ in send() 812 fprintf(stderr, "%s", mesg); /* for csw */ in done() 937 if (state != laststate || mesgptr != mesg || debug == ON) in getstatus() 938 logit("%s", mesg); in getstatus() 942 fprintf(stdout, "%s", mesg); in getstatus() 993 if (*(mesgptr = find("%%[ ", mesg)) != '\0' && in parsemesg() 1017 } else if (strcmp(mesg, "CONVERSATION ENDED.\n") == 0) in parsemesg() 1107 logit(char *mesg, ...) in logit() argument [all …]
|
H A D | parallel.c | 257 char mesg[BUFSIZ]; in printer_info() local 261 vsprintf(mesg, fmt, ap); in printer_info() 266 mesg); in printer_info() 273 mesg); in printer_info()
|
H A D | slowsend.c | 59 extern char mesg[]; 107 fprintf(stderr, "%s", mesg); /* for csw */ in slowsend()
|
/titanic_50/usr/src/cmd/lp/filter/postscript/common/ |
H A D | misc.c | 54 error(int kind, char *mesg, ...) in error() argument 67 if ( mesg != NULL && *mesg != '\0' ) { in error() 71 va_start(ap, mesg); in error() 72 vfprintf(stderr, mesg, ap); in error()
|
/titanic_50/usr/src/cmd/bnu/ |
H A D | uuto | 85 mesg="Usage: uuto [-mp] files remote!user\n" 96 ?) gettext "$mesg" >&2 106 gettext "$mesg" >&2 123 gettext "$mesg" >&2
|
/titanic_50/usr/src/lib/print/libipp-core/common/ |
H A D | ipp.c | 106 char mesg[256]; /* status-message is type text(255) */ in ipp_set_status() local 115 (void) vsnprintf(mesg, sizeof (mesg), format, ap); in ipp_set_status() 119 PAPI_ATTR_APPEND, "status-message", mesg); in ipp_set_status()
|
/titanic_50/usr/src/cmd/nlsadmin/ |
H A D | nlsadmin.c | 137 char mesg[BUFSIZ]; /* temp buffer #2 */ in main() local 361 sprintf(mesg, "Network specification \"%s\" is not of type %s", netspec, LISTENTYPE); in main() 362 nlsmesg(MM_ERROR, mesg); in main() 377 sprintf(mesg, "Service code contains more than %d characters", SVC_CODE_SZ); in main() 378 nlsmesg(MM_ERROR, mesg); in main() 732 char mesg[BUFSIZ]; in prt_svcs() local 757 sprintf(mesg, "Entry for code \"%s\" has incorrect format", entry.svc_code); in prt_svcs() 758 nlsmesg(MM_WARNING, mesg); in prt_svcs() 796 sprintf(mesg, "Network specification \"%s\" is not of type %s", netspec, LISTENTYPE); in prt_svcs() 797 nlsmesg(MM_ERROR, mesg); in prt_svcs() [all …]
|
/titanic_50/usr/src/ucbcmd/shutdown/ |
H A D | shutdown.c | 117 char mesg[NLOG+1]; variable 276 mesg[0] = '\0'; in main() 282 (void) strcat(mesg, *argv++); in main() 283 (void) strcat(mesg, " "); in main() 286 mesg[i - 1] = '\0'; /* remove trailing blank */ in main() 406 if (*mesg) in main() 408 shutdown_action, shutter, mesg); in main() 555 if (*mesg) in warn() 556 (void) fprintf(termf, "\t...%s\r\n", mesg); in warn() 602 if (*mesg) in rwarn() [all …]
|
/titanic_50/usr/src/cmd/wall/ |
H A D | wall.c | 70 static char mesg[3000]; variable 191 start = &mesg[0]; in main() 196 if (fgets(ptr, &mesg[sizeof (mesg)] - ptr, f) == NULL) in main() 215 if (strncmp(mesg, "From ", 5) == 0) { in main() 216 cp = &mesg[5]; in main() 428 i = strlen(mesg); in sendmes() 429 for (bp = mesg; --i >= 0; bp++) { in sendmes()
|
/titanic_50/usr/src/cmd/sgs/ar/common/ |
H A D | cmd.c | 77 static void mesg(int, char *, Cmd_info *); 129 mesg('c', gfile, cmd_info); in rcmd() 139 mesg('r', fileptr->ar_longname, cmd_info); in rcmd() 198 mesg('u', fileptr->ar_longname, cmd_info); in rcmd() 260 mesg('d', fptr->ar_longname, cmd_info); in dcmd() 273 mesg('u', fptr->ar_longname, cmd_info); in dcmd() 316 mesg('x', next->ar_rawname, cmd_info); in xcmd() 331 mesg('x', next->ar_longname, cmd_info); in xcmd() 393 mesg('m', fileptr->ar_longname, cmd_info); in mcmd() 410 mesg('u', fileptr->ar_longname, cmd_info); in mcmd() [all …]
|
/titanic_50/usr/src/lib/libsldap/common/ |
H A D | ns_trace.c | 155 __s_api_debug_pause(int priority, int st, const char *mesg) in __s_api_debug_pause() argument 157 if (mesg) in __s_api_debug_pause() 158 syslog(priority, "libsldap: Status: %d Mesg: %s", st, mesg); in __s_api_debug_pause()
|
/titanic_50/usr/src/lib/print/libipp-listener/common/ |
H A D | common.c | 45 char *mesg = papiServiceGetStatusMessage(svc); in ipp_svc_status_mesg() local 47 if (mesg == NULL) in ipp_svc_status_mesg() 48 mesg = papiStatusString(status); in ipp_svc_status_mesg() 50 return (mesg); in ipp_svc_status_mesg()
|