/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | log.c | 42 char line[1024]; local 91 if (mdb_readstr(line, sizeof (line), (uintptr_t)cont.b_rptr) == -1) { 100 if (line[0] == 0x0d) 101 mdb_printf("%s", &line[1]); 103 mdb_printf("%s", &line[0]);
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | esclex.h | 51 int line; /* line where this token appeared */ member in struct:tokstr
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | systat.c | 49 char filename[MAXFULLNAME], line[S_SIZE]; local 54 line[0] = '\0'; 61 if (fgets(line, S_SIZE, fp) != NULL) 62 if (getargs(line, vec, 4) == 4) { 141 char filename[MAXFULLNAME], line[S_SIZE]; local 149 if (fgets(line, S_SIZE, fp) == NULL) { 159 sscanf(line, "%d%d%ld%ld", &type, &count, &lasttime, &retrytime);
|
/illumos-gate/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 53 int start, line, eq, ndel, totdel; local 56 start = eq = line = ndel = totdel = 0; 58 line++; 66 gettext(" Spurious EQ, line %d\n"), 67 line); 70 gettext(" EQ in %c%c, line %d\n"), 71 delim, delim, line); 75 gettext(" Spurious EN, line %d\n"), 76 line); 81 gettext(" EN in %c%c, line 116 line-start+1, delim, delim, start, line); local 123 line-start+1, delim, delim, start, line); local [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddtsol.c | 47 genent_tnrhdb(char *line, int (*cback)()) argument 56 res = genent_attr(line, TNRHDB_NCOL, &ecol); 98 genent_tnrhtp(char *line, int (*cback)()) argument 107 res = genent_attr(line, TNRHTP_NCOL, &ecol);
|
/illumos-gate/usr/src/cmd/line/ |
H A D | line.c | 33 * This program reads a single line from the standard input 53 char line[LSIZE]; local 57 linep = line; 58 linend = line + LSIZE; 62 (void) write(1, line, LSIZE); 63 linep = line; 69 (void) write(1, line, linep-line);
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t3.c | 49 char line[200], *cp, nb[25], *t; local 57 gets1(line, sizeof line); 58 /* see if this is a command line */ 59 if (strchr(line,';') == NULL) 61 backrest(line); 64 for(cp=line; (c = *cp) != ';'; cp++)
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | hayes.c | 53 char line[80]; local 55 (void) sprintf(line, "%d second dial timeout", 57 logent(value(HOST), num, "hayes", line); local
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutmp.c | 63 account(line) 64 char *line; 72 (void) strncpy(up->ut_line, lastname(line), sizeof (up->ut_line)); 93 checkut_line(char *line) argument 100 (void) strncpy(buf, lastname(line), sizeof (u->ut_line)); 183 getty_account(line) 184 char *line; 195 (void) strncpy(u->ut_line, lastname(line),
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | exception_list.c | 46 parse_exception_line(char *line, elem_list *list) argument 51 if ((name = strtok(line, FS)) == NULL) { 52 /* don't complain; this is only a blank line */
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_data.c | 89 * trailing `T{' at the end of the line. Subsequent lines, 164 newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) argument 169 dp->line = line; 194 * if the last span was a horizontal line, use the same layout
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mem.c | 40 int line, 44 debug_free(file, line, p); 67 int line, 73 mem = debug_malloc(file, line, s); 107 int line, 111 return (memset(_Malloc(file, line, s), 0, s)); 134 int line, 140 p = debug_malloc(file, line, s); 142 p = debug_realloc(file, line, p, s); 175 int line, 38 _Free( char *file, int line, void *p ) argument 65 _Malloc( char *file, int line, size_t s ) argument 105 _Zalloc( char *file, int line, size_t s ) argument 132 _Realloc( char *file, int line, void *p, size_t s ) argument 173 _Calloc( char *file, int line, size_t n, size_t s ) argument 222 _Strdup( char *file, int line, char *p ) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | ether_addr.c | 53 check_host(nss_XbyY_args_t *argp, const char *line, int linelen) argument 56 linep = line; 57 limit = line + linelen; 109 check_ether(nss_XbyY_args_t *argp, const char *line, int linelen) argument 117 linep = line; 118 limit = line + linelen;
|
H A D | getprinter.c | 41 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 48 linep = line; 49 limit = line + linelen; 116 /* comment line, skip it. */ 120 /* blank line, skip it */
|
H A D | getservent.c | 40 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 45 linep = line; 46 limit = line + linelen; 129 check_port(nss_XbyY_args_t *argp, const char *line, int linelen) argument 135 linep = line; 136 limit = line + linelen;
|
H A D | netmasks.c | 52 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 59 linep = line; 60 limit = line + linelen;
|
/illumos-gate/usr/src/lib/efcode/packages/ |
H A D | parse.c | 84 line_error(char *where, int line, char *msg) argument 86 log_message(MSG_ERROR, "%s:%d: %s\n", where, line, msg); 94 char *buffer, *line, *target, *next; local 105 while ((line = fgets(buffer, PARSE_LINE, fd)) != NULL) { 107 if ((next = strpbrk(line, " \t#\n")) != NULL) 109 if (strlen(line) == 0) 111 if ((target = strchr(line, ':')) == NULL) { 112 line_error(where, lnum, "Badly formed line"); 116 if (strlen(line) == 0) { 124 for (; line; lin [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_fail.c | 140 __umem_assert_failed(const char *assertion, const char *file, int line) argument 142 umem_panic("Assertion failed: %s, file %s, line %d\n", 143 assertion, file, line);
|
/illumos-gate/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 143 char line[BUFSIZ]; local 147 (void) snprintf(line, sizeof (line), "%ld\n", pid); 166 if (write(fd, line, strlen(line)) == -1) {
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getttyent.c | 19 char line[LINE]; member in struct:_ttyentjunk 124 p = fgets(t->line, LINE, t->tf);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | rev.c | 38 "reversing the order of characters on every line of the file " 42 "[l:line?Reverse the lines of the file.]" 58 * reverse the characters within a line 117 register int n, line=0; local 124 line=1; 149 if(line) 150 line = rev_line(fp,sfstdout,sftell(fp)); 152 line = rev_char(fp,sfstdout); 155 if(line < 0)
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 50 char *p, *line, *token, **toks; local 55 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 60 NSLDAPI_FREE( line ); 65 p = line; 70 NSLDAPI_FREE( line ); 83 NSLDAPI_FREE( line ); 100 char *linestart, *line, *p; local 139 if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) { 144 SAFEMEMCPY( line, linestart, p - linestart ); 145 line[ [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue4.c | 26 char line[200], *s, argig[100], *cv[50]; local 82 while (fgets(line, 100, gf) == line) { 83 line[100] = 0; 85 fprintf(stderr, "read line as //%s//\n", line); 87 for (s = line; *s && (*s != '\t'); s++) 93 if (line[0]) 94 strcat(out, line); 100 fprintf(stderr, "line [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_http.c | 46 #define LF 10 /* "line feed" character */ 60 static int printable(const char *line, const char *endp); 63 interpret_http(int flags, char *line, int fraglen) argument 69 endp = line + fraglen; 72 c = printable(line, endp - 1); 78 "HTTP %.*s", MIN(c, MAXCHARS), line); local 87 for (p = line; p < endp && lineno < NLINES; p = q + 1) { 90 /* stop if no printables, except if at line end */ 95 * A line may be terminated either by an CR LF sequence
|
H A D | snoop_ipsec.c | 58 char *line; local 71 line = (char *)get_sum_line(); 73 * sprintf() is safe because line guarantees us 80 columns, 76 (void) sprintf(line, "ESP SPI=0x%x Replay=%u", 79 line += strlen(line); 109 char *line, *buff; local 143 line = (char *)get_sum_line(); 144 (void) sprintf(line, "AH SPI=0x%x Replay=%u", 146 line [all...] |