Searched defs:line (Results 101 - 125 of 621) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/refer/
H A Dmkey2.c37 char line[MAXLINE], *s; local
46 while (lim = grec(line, f)) {
48 fprintf(stderr, "line: /%s", line);
52 for (s = line; (c = *s) && (used < keycount); s++)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm.c91 char *line; local
102 line = fgets(buffer, bufsize, fp);
104 if (line == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_arp.c61 char *line; local
112 line = get_sum_line();
116 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?",
120 (void) snprintf(line, MAXLINE, "ARP R %s is %s",
125 (void) snprintf(line, MAXLINE, "RARP C Who is %s ?",
129 (void) snprintf(line, MAXLINE, "RARP R %s is %s",
H A Dsnoop_igmp.c54 char *line; local
60 line = get_sum_line();
61 (void) snprintf(line, MAXLINE, "Malformed IGMP packet");
97 line = get_sum_line();
98 (void) snprintf(line, MAXLINE, "IGMP %s", pt);
H A Dsnoop_solarnet.c82 char *line; local
99 line = get_sum_line();
102 (void) sprintf(line,
105 line += strlen(line);
109 (void) sprintf(line, " %s",
111 line += strlen(line);
112 (void) sprintf(line, "/%s",
114 line
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c109 char *line, *col; local
120 line = fep->entry;
122 if (*line == '\0')
125 line[strlen(line)-1] = '\0';
127 col = strchr(line, ':');
133 if (modctl(MODGETMAJBIND, line, col - line + 1, &maj)
137 line = col + 1;
140 if (modctl(MODALLOCPRIV, line) !
152 char *line; local
[all...]
/illumos-gate/usr/src/cmd/mailwrapper/
H A Dfparseln.c65 * Read a line from a file parsing continuations ending in \
187 size_t size, line; local
189 line = 0;
190 while ((ptr = fparseln(stdin, &size, &line, NULL,
192 printf("line %d (%d) |%s|\n", line, size, ptr);
199 * line 1
200 * line 2 \
201 * line 3 # Comment
202 * line
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dhead.c60 * See if the passed line buffer is a mail header.
131 parse_headline(const char *line, headline_t *hl) argument
133 const char *c = line;
138 * Load the first word from the line and ensure that it is "From".
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_umemglue.c41 __umem_assert_failed(const char *assertion, const char *file, int line) argument
44 (void) mdb_dassert(assertion, file, line);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dalloc.c90 alloc_malloc(size_t nbytes, const char *fname, int line) argument
119 alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line) argument
121 void *retval = alloc_malloc(nbytes, fname, line);
132 alloc_free((char *)ptr, fname, line);
144 alloc_strdup(const char *ptr, const char *fname, int line) argument
146 char *retval = alloc_malloc(strlen(ptr) + 1, fname, line);
160 alloc_free(void *ptr, const char *fname, int line) argument
/illumos-gate/usr/src/cmd/saf/
H A Dadmutil.c174 * start - starting line number
175 * finish - ending line number (-1 indicates entire file)
185 * always start from the beginning because line numbers are absolute
239 int line = 0; /* line number we found entry on */ local
244 line++;
250 return(line);
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Derrlog.c80 "told to print file, line number, "
83 (void) fprintf(stderr, "\"%s\", line %d: ",
123 const char *tag, const char *line)
128 Location.l_line = (char *)line;
122 seterrline(const int lineno, const char *file, const char *tag, const char *line) argument
/illumos-gate/usr/src/cmd/bnu/
H A Duuglist.c130 char line[BUFSIZ]; local
136 while (rdfulline(cfd, line, BUFSIZ) != 0) {
138 na = getargs(line, carray, C_MAX);
150 char line[BUFSIZ]; local
156 while (rdfulline(cfd, line, BUFSIZ) != 0) {
158 na = getargs(line, carray, C_MAX);
186 errent(s1, s2, i1, file, line)
/illumos-gate/usr/src/cmd/sort/common/
H A Dcheck.c46 char *line; local
56 line = alloca(length + 1);
57 (void) wcstombs(line, L->l_data.wp, L->l_data_length);
58 line[length] = '\0';
60 line = L->l_data.sp;
66 (void) write(fileno(stderr), line, length); local
72 (void) write(fileno(stderr), line, length); local
H A Dstreams_wide.c43 * discards while reading a complete line. As a result, the wide character
45 * well as overwriting the end-of-line character and correcting the
248 stream_wide_put_line(stream_t *str, line_rec_t *line) argument
253 if (line->l_data_length >= 0) {
254 if (wxwrite(str->s_type.SF.s_fd, line->l_data.wp) >= 0) {
260 safe_free(line->l_raw_collate.wp);
261 line->l_raw_collate.wp = NULL;
265 stream_wide_put_line_unique(stream_t *str, line_rec_t *line) argument
274 collated_wide(&pvs, line, 0, COLL_UNIQUE) != 0) &&
275 line
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Ddeathrow.c99 char *line; local
134 * A deathrow file line looks like:
139 line = (char *)startd_alloc(line_size);
140 *line = '\0';
142 while (fgets(line, line_size, file) != NULL) {
147 sz = strlen(line);
150 if (line[sz - 1] == '\n') {
151 line[sz - 1] = '\0';
153 manifest = strchr(line, ' ');
155 fmri = line;
[all...]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c67 char *line, /* entry to parse */
81 if (strlen(line) >= sizeof (*buf)) {
82 (void) strcpy(parse_err_msg, "line too long");
96 (void) strncpy((char *)buf, line, sizeof (*buf));
115 genent_user_attr(char *line, int (*cback)()) argument
124 res = genent_attr(line, USERATTR_DB_NCOL, &ecol);
171 genent_prof_attr(char *line, int (*cback)()) argument
180 res = genent_attr(line, PROFATTR_DB_NCOL, &ecol);
238 genent_exec_attr(char *line, int (*cback)()) argument
247 res = genent_attr(line, EXECATTR_DB_NCO
66 genent_attr( char *line, int ncol, entry_col **ecolret) argument
321 genent_auth_attr(char *line, int (*cback)()) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Dcmdexec.c52 char line[LSIZE], local
97 while (fgets(line, LSIZE, fp)) {
98 for (pt = line; isspace(*pt); /* void */)
112 (void) fputs(line, fpout);
/illumos-gate/usr/src/cmd/syslogd/
H A Dconf.c151 char *line, *p; local
168 line = cf->cf_dtab[cf->cf_lines];
170 /* Read the next line, and break out if we're done */
172 if (fgets(line, BUFSIZ, fp) == NULL)
175 /* Strip newline and bump line counter */
177 if ((p = strchr(line, '\n')) != NULL)
/illumos-gate/usr/src/cmd/tic/
H A Dtic_scan.c109 * NAMES A line beginning in column 1. 'name'
111 * but not including the first comma on the line.
305 * line. The global variable curr_file_pos is set to the file offset
306 * of the beginning of each line.
311 char line[1024]; variable
321 line[curr_column] == '\0') {
325 if ((rtn_value = fgets(line, 1024, stdin)) == NULL)
328 p = &line[0];
335 while (isascii(line[curr_column]) && iswhite(line[curr_colum
[all...]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dbiz31.c67 char line[80]; local
69 (void) sprintf(line, "%d second dial timeout",
71 logent(value(HOST), num, "biz", line); local
H A Dv3451.c37 char line[80]; local
H A Dventel.c39 char line[80]; local
80 (void) sprintf(line, "%d second dial timeout",
82 logent(value(HOST), num, "ventel", line); local
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-defs.h74 int line; member in struct:__anon6595
99 g_malloc_arr[index_mem_chk].line = _line; \
116 g_malloc_arr[index_mem_chk].line, \
130 #define XGE_OS_MEMORY_CHECK_MALLOC(ptr, size, file, line)
/illumos-gate/usr/src/lib/libast/common/string/
H A Dtokline.c33 * if <arg> is a file and first line matches
50 int* line; member in struct:__anon2673
86 (*d->line)++;
153 * if line!=0 then it points to a line count that starts at 0
154 * and is incremented for each input line
158 tokline(const char* arg, int flags, int* line) argument
190 *(d->line = line ? line
[all...]

Completed in 226 milliseconds

1234567891011>>