Home
last modified time | relevance | path

Searched refs:MAXLINE (Results 1 – 25 of 94) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailcompat.c42 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 Dvacation.c64 #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 Dsnoop_zip.c58 (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 Dsnoop_trill.c48 (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 Dsnoop_aarp.c58 (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 Dsnoop_arp.c114 (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 Dsnoop_sctp.c57 #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 Dsnoop_rtmp.c87 (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 Dsnoop_aecho.c42 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho()
47 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho()
H A Dsnoop_dhcpv6.c75 (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 Dsnoop_bpdu.c60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_bpdu()
68 (void) snprintf(get_sum_line(), MAXLINE, in interpret_bpdu()
H A Dsnoop_vxlan.c33 (void) snprintf(get_sum_line(), MAXLINE, in interpret_vxlan()
45 (void) snprintf(get_sum_line(), MAXLINE, in interpret_vxlan()
H A Dsnoop_http.c72 (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 Dsyslog.c85 #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 Dversions.c38 #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 Dmkey2.c17 #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 Dypserv_net_secure.c40 #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 Dtrace.c180 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 Dio.c45 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 Dui-sun.c43 #define MAXLINE 127
48 char temp[MAXLINE+1];
62 if (cp == &temp[MAXLINE])
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c52 #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 Dio.c18 #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 Dsyslogd.h52 #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/cmd/logadm/
H A Derr.c207 #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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Demacs.c192 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 …]

1234