Searched defs:line (Results 226 - 250 of 621) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp.c348 fprintf(stderr, "read line: %s\n", buffer);
358 * The number found at the beginning of the line read from
360 * rest of the line is discarded.
366 char line[1024]; local
370 if (irs_irp_read_line(pvt, line, sizeof line) <= 0) {
374 p = strchr(line, '\n');
379 if (sscanf(line, "%d", &code) != 1) {
382 p = line;
396 * Read in the body of a response. Terminated by a line wit
411 char line[1024]; local
[all...]
H A Dlcl_ng.c49 #define LINSIZ 1024 /*%< Length of netgroup file line */
282 * First, see if the line has already been read in.
353 * Read the netgroup file and save lines until the line for the netgroup
362 char line[LINSIZ + 1]; local
364 while (fgets(line, LINSIZ, pvt->fp) != NULL) {
365 pos = line;
395 * Loop around handling line continuations.
425 if (fgets(line, LINSIZ, pvt->fp)) {
426 pos = line;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetgraent.c92 char line[BUFSIZ+1]; local
99 while (fgets(line, BUFSIZ, g->grfa) != NULL) {
100 if ((gra = interpret(line, strlen(line))) == NULL)
102 if (matchname(line, &gra, name)) {
H A Dgetpwaent.c107 char line[BUFSIZ+1]; local
114 while (fgets(line, BUFSIZ, pwfadj) != NULL) {
115 if ((pwadj = interpret(line, strlen(line))) == NULL)
117 if (matchname(line, &pwadj, name)) {
173 char line[BUFSIZ+1]; local
208 if (fgets(line, BUFSIZ, pwfadj) == NULL) {
211 if ((pwadj = interpret(line, strlen(line))) == NULL)
213 switch(line[
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c147 char line[MNT_LINE_MAX]; local
161 while (getmntline(line, fd_in) != -1) {
163 if (putmline(line, fd_out) == -1) {
169 if (putfline(line, fd_out) == -1) {
212 putmline(char *line, FILE *fp) argument
220 GETTOK(mnt.mnt_fsname, line);
243 /* no device number on this line */
264 putfline(char *line, FILE *fp) argument
269 GETTOK(mnt.mnt_fsname, line);
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_event.c278 char line[AU_EVENT_LINE_MAX]; local
294 while (fgets(line, AU_EVENT_LINE_MAX, fp) != NULL) {
295 s = line + strspn(line, " \t\r\n");
H A Dgetdaent.c118 * reads one device_alloc/device_maps line from stream into buff of len
119 * bytes. Continued lines from stream are concatenated into one line in
365 char line[DA_BUFSIZE + 1]; local
372 while (getdadmline(line, (int)sizeof (line), daf) != 0) {
373 if (strstr(line, name) == NULL)
375 if ((da = da_interpret(line)) == NULL)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c251 * documented limit on the line length.
366 char *line = getmntbuf(MNT_LINE_MAX); local
368 if (line == NULL) {
374 if ((ret = getaline(line, fp)) != 0)
378 GETTOK_R(mnt_special, line, &tmp);
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c66 #define BUFSZ 256 /* allocation unit of the line buffer */
106 char *line, *eob, *cp; /* word from shell */ local
313 cp = line = malloc(BUFSZ);
314 if (line == NULL) {
320 eob = line + BUFSZ;
327 cp = line;
333 size_t bs = (eob - line);
336 if ((nl = realloc(line, bs + BUFSZ)) == NULL) {
340 line = nl;
341 cp = line
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcat.c41 "[b:number-nonblank?Number lines as with \b-n\b but omit line numbers from"
46 "[n:number?Causes a line number to be inserted at the beginning of each line.]"
60 "[B:squeeze-blank?Multiple adjacent new-line characters are replace by one"
61 " new-line.]"
64 "[E:show-ends?Causes a \b$\b to be inserted before each new-line.]"
133 register int line; local
150 line = 1;
183 sfprintf(op, "%6d\t", line);
220 sfprintf(op, "%6d\t", line);
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c31 /* line64.c - routines for dealing with the slapd line format */
86 * str_parse_line - takes a line of the form "type:[:] value" and splits it
94 char *line,
104 while ( ISBLANK( *line ) ) {
105 line++;
107 *type = line;
109 for ( s = line; *s && *s != ':'; s++ )
119 "on line \"%s\"\n", line, 0, 0 );
127 for ( p = s - 1; p > line
93 str_parse_line( char *line, char **type, char **value, int *vlen ) argument
550 char line[BUFSIZ]; local
[all...]
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c151 * Search for matching entry by line name before put operation
153 * that the line name is the same. We can not use getutline(3C)
228 char *user, *id, *line, *pid, *type, *term, *time_usec, local
237 line = argv[3];
251 (void) strncpy(entryx->ut_line, line, sizeof (entryx->ut_line));
311 char *line = buf; local
371 if (bad_line(line) == 1) {
372 dprintf("Bad line = %s\n", line);
416 * Then create a new id that is unique using the last 4 chars in the line
420 check_id(char *id, char *line) argument
455 bad_line(char *line) argument
[all...]
/illumos-gate/usr/src/cmd/vntsd/
H A Dcommon.c54 /* vntsd_write_line() - write a line to TCP client */
56 vntsd_write_line(vntsd_client_t *clientp, char *line) argument
60 rv = vntsd_write_client(clientp, line, strlen(line));
73 char *line; local
81 line = buf;
83 while ((line != NULL) && (*line != '\0')) {
85 endofline = strchr(line, '\n');
90 (void) vntsd_write_line(clientp, line);
[all...]
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c65 * Use the full lengths from utmpx for user and line.
75 static char line[MAXNAMLEN+1] = "???"; variable
174 (void) strncpy(line, &term_name[5], sizeof (line) - 1);
210 if (strcmp(line, "???") == 0) {
225 (void) strcpy(line, "rpc.rwalld");
421 who, line, systm, time_buf);
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c372 static char line[BUFSIZ+1]; variable
432 if ((p = fgets(line, BUFSIZ, hostf)) == NULL)
/illumos-gate/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c159 _brand_abort(int err, const char *msg, const char *file, int line) argument
167 brand_abort_line = line;
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c76 static const char ml_rd_cmp_msg[] = "mixed line read/compare. ";
77 static const char ln_rd_cmp_msg[] = "line read/compare. ";
422 long line; local
473 for (line = (LINES_PER_PAGE(handle) - 1); line >= 0; line--) {
475 line, 1, &errbuf) == -1) {
494 line, 1) == -1) {
500 line, 1, &errbuf) == -1) {
515 line,
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_util.c315 parse_match(char line, char *seps) argument
321 if (*sep == line)
333 parse(char **line, char *seps) argument
335 char *start = *line;
337 while (**line != 0) {
338 *line = *line + 1;
339 if (parse_match(**line, seps)) {
341 while (parse_match(**line, seps)) {
342 **line
[all...]
/illumos-gate/usr/src/cmd/nl/
H A Dnl.c103 char line[LINE_MAX]; local
108 int cnt; /* line counter */
543 while ((p = fgets(line, sizeof (line), iptr)) != NULL) {
644 (void) fprintf(optr, "%s", line);
/illumos-gate/usr/src/cmd/power/
H A Dparse.c256 mesg(MEXIT, "cannot alloc %u for line args\n", size);
307 * Match leading keyword from a conf line and
329 mesg(MDEBUG, "line %d, ('%c' - '%c') = %d\n",
330 lineno, *cip->keyword, *line, chr_diff);
347 * Find the end of a [possibly continued] conf line
348 * and record the real/lf-delimited line count at *lcnt.
351 find_line_end(char *line, int *lcnt) argument
356 next = line;
359 if (lf == line || (*(lf - 1) != '\\') || *(lf + 1) == '\0')
368 * Parse the named conf file and for each conf line
374 char *file_buf, *cline, *line, *lend; local
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dcpufreq.c534 char line[1024]; local
541 (void) memset(line, 0, 1024);
543 while (fgets(line, 1024, file)) {
544 if (strstr(line, "cpupm")) {
545 if (strstr(line, "enable")) {
550 if (strstr(line, "poll"))
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c178 rctladm_setup_action(char *name, char *action, int line) argument
181 warn(gettext("\"%s\", line %d, syntax error\n"), CONFIGPATH,
182 line);
196 int line, len, n; local
214 for (line = 1; fgets(buf, BUFSIZE, fp) != NULL; line++) {
224 * and consuming the whole line.
232 warn(gettext("\"%s\", line %d, syntax error\n"),
233 CONFIGPATH, line);
238 warn(gettext("\"%s\", line
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c318 * First line printed is cumulative.
323 register int line = 0; local
342 if ((line % 20) == 0) {
454 line++;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/
H A Dp12split.c192 * when entering it on the command line. As a result, we need to
639 int line; local
643 while ((err = ERR_get_error_line(&pfile, &line)) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c335 dsyslog(LOG_DEBUG, "line listed in utmp file is not a tty\n");
412 char line[BUFSIZ]; local
434 while (fgets(line, sizeof (line), fi) != NULL) {
444 if (strncmp(line, "From ", 5) == 0)
446 if (inheader && (line[0] == ' ' || line[0] == '\t'))
448 cp = index(line, ':');
449 if (cp == 0 || (index(line, ' ') && index(line, ' ') < c
[all...]

Completed in 303 milliseconds

1234567891011>>