Searched defs:outstr (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/getopt/
H A Dgetopt.c62 char *outstr; local
83 if ((outstr = (char *)malloc(bufsize)) == NULL) {
87 outstr[0] = '\0';
101 ALLOC_BUFMEM(outstr, bufsize, 3);
103 (void) strcat(outstr, tmpstr);
106 ALLOC_BUFMEM(outstr, bufsize, strlen(optarg)+1)
107 (void) strcat(outstr, optarg);
108 (void) strcat(outstr, " ");
116 ALLOC_BUFMEM(outstr, bufsize, 3)
117 (void) strcat(outstr, "
[all...]
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dmisc.c78 char * outstr; local
80 outstr = (char *)malloc(strlen(instr) + 1);
81 ASSERT(outstr, MALLOC_ERR);
82 (void) memset(outstr, 0, strlen(instr) + 1);
83 (void) strcpy(outstr, instr);
85 return (outstr);
/illumos-gate/usr/src/cmd/mailx/
H A Dtty.c65 static void outstr(register char *s);
183 outstr(pr);
200 outstr(canonb);
270 outstr("(continue)\n");
272 outstr(pr);
274 outstr(canonb);
358 outstr(register char *s) function
/illumos-gate/usr/src/cmd/ldap/common/
H A Dconvutf8.c614 char *outstr = NULL; local
637 outstr = (char *) malloc(outlen + 2);
639 wclen, outstr, outlen, NULL, NULL);
641 *(outstr+outlen) = _T('\0');
646 return outstr;
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c470 match(const char *str, char *outstr) argument
501 if (outstr != NULL)
502 *outstr++ = c;
510 else if (outstr != NULL)
511 *outstr++ = c;
515 else if (outstr != NULL)
516 *outstr++ = c;
524 if (outstr != NULL)
525 *outstr = '\0';
/illumos-gate/usr/src/uts/common/disp/
H A Dpriocntl.c140 char *outstr; local
724 outstr = "";
726 outstr = sclass[defaultcid].cl_name;
727 size = strlen(outstr) + 1;
729 if ((*copyoutfn)(outstr, arg, size) != 0)
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_config.c2744 char *outstr = NULL; local
2794 outstr = (char *)calloc(1, dlen);
2795 if (outstr == NULL) {
2815 (void) strlcat(outstr, dbname, dlen);
2816 (void) strlcat(outstr, ",", dlen);
2822 (void) strlcat(outstr, dbname, dlen);
2823 (void) strlcat(outstr, ",", dlen);
2828 i = strlen(outstr) - 1;
2829 if (outstr[i] == ',')
2830 outstr[
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c811 unicode2ascii(char *outstr, int outlen, uchar_t *instr, int inlen) argument
824 outstr[j] = c;
828 outstr[j] = '\0';
857 get_info_level(char *outstr, int outsz, int value) argument
862 snprintf(outstr, outsz, "Standard");
865 snprintf(outstr, outsz, "Query EA Size");
868 snprintf(outstr, outsz, "Query EAS from List");
871 snprintf(outstr, outsz, "Directory Info");
874 snprintf(outstr, outsz, "Full Directory Info");
877 snprintf(outstr, outs
1957 char *outstr; local
[all...]
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c94 static void outstr(char *s);
468 * to the shell''. We use the routine outstr to do this -- however we
497 outstr(eff);
502 outstr(eff);
505 outstr(eff);
513 outstr(lc_allp);
822 outstr(q[j]);
945 outstr(char *s) function
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_val.c2087 * outstr Points to the updated position upto which the
2092 int *numVals, char *sepset, char **outstr) {
2211 if (outstr != 0)
2212 *outstr = str;
2091 matchMappingItem(__nis_mapping_format_t *f, __nis_value_t *inVal, int *numVals, char *sepset, char **outstr) argument
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c2481 int numattrs, char **outstr)
2486 if (outstr == NULL)
2491 *outstr = malloc(len + 1);
2492 if ((*outstr) == NULL)
2494 (void) memset((*outstr), 0, len + 1);
2495 rv = kmf_get_attr(type, attrlist, numattrs, (*outstr), &len);
2497 free(*outstr);
2498 *outstr = NULL;
2480 kmf_get_string_attr(KMF_ATTR_TYPE type, KMF_ATTRIBUTE *attrlist, int numattrs, char **outstr) argument
/illumos-gate/usr/src/cmd/pg/
H A Dpg.c601 char outstr[PROMPTSIZE]; local
607 (void) sprintf(outstr, gettext(
609 sopr(outstr, 1);
1664 char outstr[PROMPTSIZE+6]; local
1671 (void) sprintf(outstr, gettext("(Next file: %s)"), filename);
1676 (void) sprintf(outstr, promptstr, pagenum);
1678 sopr(outstr, 1);
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c979 char *outstr, *outstrptr; local
983 outstrptr = outstr = safe_zalloc(bufsz + 1);
1002 *(outstr + (bufsz - outleft)) = '\0';
1006 free(outstr);
1008 free(outstr);
1022 return (outstr);
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba.c1722 usba_filter_string(char *instr, char *outstr) argument
1726 *outstr = *instr;
1728 *outstr = ' ';
1730 outstr++;
1733 *outstr = '\0';
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1806 char *outstr; local
1809 if ((outstr = malloc(outstrsize)) == NULL) {
1814 (void) strlcpy(outstr, instr, outstrsize);
1815 return (outstr);
1817 (void) snprintf(outstr, outstrsize, "\"%s\"", instr);
1818 return (outstr);
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c5388 char *outstr; local
5586 outstr = "";
5588 outstr = zone->zone_bootargs;
5589 size = strlen(outstr) + 1;
5593 err = copyoutstr(outstr, buf, bufsize, NULL);
5610 outstr = "";
5612 outstr = sclass[zone->zone_defaultcid].cl_name;
5613 size = strlen(outstr) + 1;
5617 err = copyoutstr(outstr, buf, bufsize, NULL);
5637 outstr
[all...]

Completed in 131 milliseconds