Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dsyslog.c47 #define MAXLINE 1024 /* max message size */ macro
110 char buf[MAXLINE + 1], outline[MAXLINE + 1]; in vsyslog()
115 int retsiz, outsiz = MAXLINE + 1; in vsyslog()
161 while ((c = *f++) != '\0' && c != '\n' && b < &buf[MAXLINE]) { in vsyslog()
174 (void) snprintf(b, &buf[MAXLINE] - b, "error %d", in vsyslog()
177 while (*errstr != '\0' && b < &buf[MAXLINE]) { in vsyslog()
195 if (c > MAXLINE) { in vsyslog()
196 c = MAXLINE; in vsyslog()
197 outline[MAXLINE-1] = '\0'; in vsyslog()
/titanic_44/usr/src/cmd/sendmail/aux/
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.c69 #define MAXLINE 256 /* max size of a line */ macro
89 static char Charset[MAXLINE]; /* for use in reply message */
90 static char *AliasList[MAXLINE]; /* list of aliases to allow */
122 char buf[MAXLINE];
275 while (fgets(buf, MAXLINE, stdin) != NULL)
384 static char line[MAXLINE];
463 char buf[MAXLINE+1];
486 while (fgets(buf, MAXLINE, stdin) != NULL && buf[0] != '\n')
576 char file[MAXLINE];
577 char line[MAXLINE];
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
66 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
75 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
82 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
87 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
257 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
317 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip()
326 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip()
331 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip()
336 (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.c60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
67 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
72 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
79 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
H A Dsnoop_arp.c116 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?", in interpret_arp()
120 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp()
125 (void) snprintf(line, MAXLINE, "RARP C Who is %s ?", in interpret_arp()
129 (void) snprintf(line, MAXLINE, "RARP R %s is %s", in interpret_arp()
178 (void) snprintf(get_sum_line(), MAXLINE, in interpret_arp()
H A Dsnoop_sctp.c59 #define BUFLEN MAXLINE - 64
244 static char scratch[MAXLINE];
642 SUMAPPEND((scratch, MAXLINE, "CTSN %x ", ntohl(*ftsn))); in parse_ftsn_chunk()
675 SUMAPPEND((scratch, MAXLINE, "sn %x ", ntohl(*sn))); in parse_asconf_chunk()
698 SUMAPPEND((scratch, MAXLINE, "tsn %x str %hu/%hu win %u ", in parse_init_chunk()
767 SUMAPPEND((scratch, MAXLINE, "len %d tsn %x str %hu/%hu " in parse_data_chunk()
864 SUMAPPEND((scratch, MAXLINE, in parse_sack_chunk()
890 SUMAPPEND((scratch, MAXLINE, "tsn %x", ntohl(*cumtsn))); in parse_shutdown_chunk()
1035 SUMAPPEND((scratch, MAXLINE, "%s ", desc)); in interpret_chunks()
1112 sumlen = MAXLINE; in interpret_sctp()
[all …]
H A Dsnoop_rtmp.c89 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
118 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
144 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
H A Dsnoop_aecho.c44 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho()
49 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho()
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_dhcpv6.c74 (void) strlcpy(get_sum_line(), "DHCPv6?", MAXLINE); in interpret_dhcpv6()
85 line += snprintf(line, MAXLINE, "DHCPv6 %s", in interpret_dhcpv6()
91 MAXLINE - (line - lstart)); in interpret_dhcpv6()
98 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
109 MAXLINE - (line - lstart)); in interpret_dhcpv6()
113 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
124 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
132 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
137 MAXLINE - (line - lstart), " \"%.*s\"", in interpret_dhcpv6()
145 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
H A Dsnoop_http.c74 (void) snprintf(get_sum_line(), MAXLINE, in interpret_http()
77 (void) snprintf(get_sum_line(), MAXLINE, in interpret_http()
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c62 #define MAXLINE 1024 macro
131 dat.maxlen = MAXLINE;
133 if (dat.len > MAXLINE) {
134 dat.len = MAXLINE;
135 msg[MAXLINE - 1] = '\0';
/titanic_44/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()
/titanic_44/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c39 #define MAXLINE 1024 macro
51 static char Previous[MAXLINE];
52 static char LeftMostChild[MAXLINE];
296 (void) strncpy(LeftMostChild, token, MAXLINE); in set()
297 LeftMostChild[MAXLINE-1] = '\0'; in set()
298 (void) strncpy(Previous, token, MAXLINE); in set()
299 Previous[MAXLINE-1] = '\0'; in set()
423 (void) strncpy(Previous, token, MAXLINE); in set_parents()
425 Previous[MAXLINE-1] = '\0'; in set_parents()
554 static char line[MAXLINE]; in nexttok()
/titanic_44/usr/src/cmd/refer/
H A Dmkey2.c19 #define MAXLINE 500 macro
37 char line[MAXLINE], *s; in dofile()
105 if (tlen < MAXLINE && mindex(iglist, curtype) == 0) in grec()
110 if (wholefile > 0 && len >= MAXLINE) { in grec()
/titanic_44/usr/src/cmd/ypcmd/
H A Dypserv_net_secure.c42 #define MAXLINE 128 macro
67 char strung[MAXLINE], nmask[MAXLINE], net[MAXLINE]; in get_secure_nets()
75 while (fgets(strung, MAXLINE, fp)) { in get_secure_nets()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dui-sun.c43 #define MAXLINE 127
48 char temp[MAXLINE+1];
62 if (cp == &temp[MAXLINE])
/titanic_44/usr/src/cmd/abi/spectrans/spec2trace/
H A Dtrace.c182 char infile[MAXLINE], in xlator_startfile()
183 outfile[MAXLINE], in xlator_startfile()
626 buffer[MAXLINE+1], in to_basetype()
630 assert(strlen(str) < MAXLINE, "string exceeded MAXLINE"); in to_basetype()
657 assert(q < &buffer[MAXLINE], "q fell off end of buffer"); in to_basetype()
662 assert(strlen(buffer) < MAXLINE, "buffer length exceeded MAXLINE"); in to_basetype()
675 static char buffer[MAXLINE+1]; in to_actual()
680 n = MAXLINE - snprintf(buffer, MAXLINE, "%s", name_of(p)); in to_actual()
933 char pathname[MAXLINE]; in generate_aux_file()
H A Dio.c48 static char headfile_name[MAXLINE]; /* Saved for later. */
49 static char mapfile_name[MAXLINE]; /* Saved for later. */
121 char hfn[MAXLINE]; in alt_code_file()
/titanic_44/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c54 #define MAXLINE 10240 macro
251 char keystr[MAXLINE]; in do_code2key()
336 char linebuf[MAXLINE]; in testdict()
337 char fname[MAXLINE]; in testdict()
340 (void) snprintf(fname, MAXLINE, "%s/%s.dict", dirpath, dictname); in testdict()
351 while (fgets(linebuf, MAXLINE, fp) != NULL) { in testdict()
/titanic_44/usr/src/cmd/syslogd/
H A Dsyslogd.h54 #define MAXLINE 1024 /* maximum line length */ macro
110 char msg[MAXLINE+1]; /* the message itself */
129 char msg[MAXLINE+1];
218 char msg[MAXLINE+1];
/titanic_44/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()
/titanic_44/usr/src/cmd/sendmail/src/
H A Dconf.h62 #define MAXLINE 2048 /* max line length */ macro
66 # define MAXINPLINE MAXLINE /* max input line length */

1234