/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | mailcompat.c | 42 char *AliasList[MAXLINE]; /* list of aliases to allow */ 123 static char line[MAXLINE]; 124 static char command[MAXLINE]; 153 static char line[MAXLINE]; 269 char forward[MAXLINE]; in AutoInstall() 270 char line[MAXLINE]; in AutoInstall() 289 while (fgets(line, MAXLINE, f)) in AutoInstall() 326 char line[MAXLINE];
|
H A D | vacation.c | 64 #define MAXLINE 256 /* max size of a line */ macro 84 static char Charset[MAXLINE]; /* for use in reply message */ 85 static char *AliasList[MAXLINE]; /* list of aliases to allow */ 117 char buf[MAXLINE]; 270 while (fgets(buf, MAXLINE, stdin) != NULL) 379 static char line[MAXLINE]; 458 char buf[MAXLINE+1]; 481 while (fgets(buf, MAXLINE, stdin) != NULL && buf[0] != '\n') 571 char file[MAXLINE]; 572 char line[MAXLINE]; [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_zip.c | 58 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 64 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 73 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 80 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 85 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 255 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 315 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() 324 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() 329 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() 334 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() [all …]
|
H A D | snoop_trill.c | 48 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 78 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 86 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 93 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 103 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill()
|
H A D | snoop_aarp.c | 58 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 65 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 70 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 77 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
|
H A D | snoop_arp.c | 114 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?", in interpret_arp() 118 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp() 123 (void) snprintf(line, MAXLINE, "RARP C Who is %s ?", in interpret_arp() 127 (void) snprintf(line, MAXLINE, "RARP R %s is %s", in interpret_arp() 176 (void) snprintf(get_sum_line(), MAXLINE, in interpret_arp()
|
H A D | snoop_sctp.c | 57 #define BUFLEN MAXLINE - 64 242 static char scratch[MAXLINE]; 640 SUMAPPEND((scratch, MAXLINE, "CTSN %x ", ntohl(*ftsn))); in parse_ftsn_chunk() 673 SUMAPPEND((scratch, MAXLINE, "sn %x ", ntohl(*sn))); in parse_asconf_chunk() 696 SUMAPPEND((scratch, MAXLINE, "tsn %x str %hu/%hu win %u ", in parse_init_chunk() 765 SUMAPPEND((scratch, MAXLINE, "len %d tsn %x str %hu/%hu " in parse_data_chunk() 862 SUMAPPEND((scratch, MAXLINE, in parse_sack_chunk() 888 SUMAPPEND((scratch, MAXLINE, "tsn %x", ntohl(*cumtsn))); in parse_shutdown_chunk() 1033 SUMAPPEND((scratch, MAXLINE, "%s ", desc)); in interpret_chunks() 1110 sumlen = MAXLINE; in interpret_sctp() [all …]
|
H A D | snoop_rtmp.c | 87 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 116 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 142 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
|
H A D | snoop_aecho.c | 42 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho() 47 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho()
|
H A D | snoop_dhcpv6.c | 75 (void) strlcpy(get_sum_line(), "DHCPv6?", MAXLINE); in interpret_dhcpv6() 86 line += snprintf(line, MAXLINE, "DHCPv6 %s", in interpret_dhcpv6() 92 MAXLINE - (line - lstart)); in interpret_dhcpv6() 99 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 110 MAXLINE - (line - lstart)); in interpret_dhcpv6() 114 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 125 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 133 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 138 MAXLINE - (line - lstart), " \"%.*s\"", in interpret_dhcpv6() 146 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
|
H A D | snoop_bpdu.c | 60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_bpdu() 68 (void) snprintf(get_sum_line(), MAXLINE, in interpret_bpdu()
|
H A D | snoop_vxlan.c | 33 (void) snprintf(get_sum_line(), MAXLINE, in interpret_vxlan() 45 (void) snprintf(get_sum_line(), MAXLINE, in interpret_vxlan()
|
H A D | snoop_http.c | 72 (void) snprintf(get_sum_line(), MAXLINE, in interpret_http() 75 (void) snprintf(get_sum_line(), MAXLINE, in interpret_http()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 85 #define MAXLINE 1024 /* max message size (but see below) */ macro 175 char buf[MAXLINE + 2]; in vsyslog() 176 char outline[MAXLINE + 256]; /* pad to allow date, system name... */ in vsyslog() 283 while ((c = *f++) != '\0' && b < &buf[MAXLINE]) { in vsyslog() 295 (void) snprintf(b, &buf[MAXLINE] - b, "error %d", in vsyslog() 298 while (*errmsg != '\0' && b < &buf[MAXLINE]) { in vsyslog() 317 if (clen > MAXLINE) { in vsyslog() 318 clen = MAXLINE; in vsyslog() 319 outline[MAXLINE-1] = '\0'; in vsyslog()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | versions.c | 38 #define MAXLINE 1024 macro 50 static char Previous[MAXLINE]; 51 static char LeftMostChild[MAXLINE]; 295 (void) strncpy(LeftMostChild, token, MAXLINE); in set() 296 LeftMostChild[MAXLINE-1] = '\0'; in set() 297 (void) strncpy(Previous, token, MAXLINE); in set() 298 Previous[MAXLINE-1] = '\0'; in set() 422 (void) strncpy(Previous, token, MAXLINE); in set_parents() 424 Previous[MAXLINE-1] = '\0'; in set_parents() 553 static char line[MAXLINE]; in nexttok()
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | mkey2.c | 17 #define MAXLINE 500 macro 35 char line[MAXLINE], *s; in dofile() 103 if (tlen < MAXLINE && mindex(iglist, curtype) == 0) in grec() 108 if (wholefile > 0 && len >= MAXLINE) { in grec()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_net_secure.c | 40 #define MAXLINE 128 macro 65 char strung[MAXLINE], nmask[MAXLINE], net[MAXLINE]; in get_secure_nets() 73 while (fgets(strung, MAXLINE, fp)) { in get_secure_nets()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 180 char infile[MAXLINE], in xlator_startfile() 181 outfile[MAXLINE], in xlator_startfile() 624 buffer[MAXLINE+1], in to_basetype() 628 assert(strlen(str) < MAXLINE, "string exceeded MAXLINE"); in to_basetype() 655 assert(q < &buffer[MAXLINE], "q fell off end of buffer"); in to_basetype() 660 assert(strlen(buffer) < MAXLINE, "buffer length exceeded MAXLINE"); in to_basetype() 673 static char buffer[MAXLINE+1]; in to_actual() 678 n = MAXLINE - snprintf(buffer, MAXLINE, "%s", name_of(p)); in to_actual() 931 char pathname[MAXLINE]; in generate_aux_file()
|
H A D | io.c | 45 static char headfile_name[MAXLINE]; /* Saved for later. */ 46 static char mapfile_name[MAXLINE]; /* Saved for later. */ 118 char hfn[MAXLINE]; in alt_code_file()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ui-sun.c | 43 #define MAXLINE 127 48 char temp[MAXLINE+1]; 62 if (cp == &temp[MAXLINE])
|
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode_test.c | 52 #define MAXLINE 10240 macro 249 char keystr[MAXLINE]; in do_code2key() 334 char linebuf[MAXLINE]; in testdict() 335 char fname[MAXLINE]; in testdict() 338 (void) snprintf(fname, MAXLINE, "%s/%s.dict", dirpath, dictname); in testdict() 349 while (fgets(linebuf, MAXLINE, fp) != NULL) { in testdict()
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | io.c | 18 #define MAXLINE 8192 /* maximum input line */ macro 20 char in[MAXLINE+1]; /* input buffer */ 100 if (s >= in+MAXLINE) { in getaline() 103 in[MAXLINE] = '\0'; in getaline()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 52 #define MAXLINE 1024 /* maximum line length */ macro 108 char msg[MAXLINE+1]; /* the message itself */ 123 char msg[MAXLINE+1]; 209 char msg[MAXLINE+1];
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | emacs.c | 192 genchar Screen[MAXLINE]; in ed_emacsread() 220 kstack = (genchar*)malloc(CHARSIZE*MAXLINE); in ed_emacsread() 255 if(scend+plen > (MAXLINE-2)) in ed_emacsread() 256 scend = (MAXLINE-2)-plen; in ed_emacsread() 272 hist_copy((char*)kstack,MAXLINE, hline,hloff); in ed_emacsread() 700 hist_copy((char*)out,MAXLINE, hline,hloff); in ed_emacsread() 943 genchar name[MAXLINE]; in escape() 944 char buf[MAXLINE]; in escape() 946 ptr = hist_word(buf,MAXLINE,(count?count:-1)); in escape() 1182 char hbuf[MAXLINE]; in xcommands() [all …]
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | err.c | 207 #define MAXLINE 8192 /* for tmp file line buffer */ macro 219 char line[MAXLINE]; in err_mailto() 235 while (fgets(line, MAXLINE, Errorfile) != NULL) in err_mailto()
|