Searched defs:cat (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/mail/
H A Dcat.c29 cat - concatenate two strings
32 void cat(char *to, char *from1, char *from2)
35 cat() concatenates "from1" and "from2" to "to"
42 cat(to, from1, from2) function
/illumos-gate/usr/src/lib/libast/common/misc/
H A Derrorx.c32 errorx(const char* loc, const char* cmd, const char* cat, const char* msg) argument
41 if (!cat)
42 cat = (const char*)error_info.catalog;
45 if (s = (*error_info.translate)(loc, cmd, cat, msg))
H A Dtranslate.c47 nl_catd cat; /* message catalog handle */ member in struct:__anon2654
56 Catalog_t* cat; /* current catalog pointer */ member in struct:__anon2655
170 cp->cat = NOCAT;
219 * return the C locale message pointer for msg in cat
220 * cat may be a : separated list of candidate names
224 match(const char* cat, const char* msg) argument
234 s = (char*)cat;
239 if (s == (char*)cat)
251 mp->cat = cp;
266 * cat th
290 translate(const char* loc, const char* cmd, const char* cat, const char* msg) argument
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/catopen/
H A Dcatopen.c37 nl_catd cat; local
39 cat = catopen("TEST", NL_CAT_LOCALE);
41 assert(cat != INVALID_CAT);
42 (void) catclose(cat);
44 assert(cat == INVALID_CAT);
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsgget.c56 char* cat; local
91 if (cat = strchr(cmd, ':'))
92 *cat++ = 0;
93 if (!mcfind(path, loc, cmd, LC_MESSAGES, 0) && (!cat || !mcfind(path, loc, cat, LC_MESSAGES, 0)))
95 if (cat)
96 *--cat = ':';
106 s = errorx(loc, cmd, cat, msg);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dsetlocale.c124 current_locale(locale_t loc, int cat) argument
126 switch (cat) {
133 return (loc->locdata[cat]->l_lname);
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dmisc.c177 cat(file) function
213 } /* End of cat */
/illumos-gate/usr/src/cmd/lp/model/
H A DMakefile35 lp.cat \
66 lp.set drain.output lp.cat := LDLIBS += $(LIBLP) -lcurses
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dcatopen.c27 * the ast mc* and native cat* routines do all the work
32 * or a Cc_t* where Cc_t.cat is the native nl_catd
54 nl_catd cat; member in struct:__anon2605
110 cc->cat = d;
122 sfprintf(sfstderr, "AHA#%d:%s %s %s native %p\n", __LINE__, __FILE__, s, name, cc->cat);
137 _ast_catgets(_ast_nl_catd cat, int set, int num, const char* msg) argument
139 if (cat == (_ast_nl_catd)(-1))
142 if (!((Cc_t*)cat)->set)
147 msg = (char*)catgets(((Cc_t*)cat)->cat, se
163 _ast_catclose(_ast_nl_catd cat) argument
[all...]
H A Dsetlocale.c908 int cat[AST_LC_COUNT]; local
925 cat[j++] = i;
960 if (!single(cat[i], p, 0))
966 stk[k++] = cat[i];
968 else if (!lc_categories[cat[i]].prev && !(ast.locale.set & AST_LC_internal))
969 lc_categories[cat[i]].prev = p;
1020 int cat[AST_LC_COUNT]; local
1040 cat[i] = -1;
1042 if (cat[i] < 0)
1045 cat[
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/tput/
H A Dtput.c133 STATREF void cat ANSI((char *_Fn));
315 cat(init_file);
331 cat(reset_file);
363 cat(fn) function
/illumos-gate/usr/src/cmd/ndmpadm/
H A Dndmpadm_print.c416 ndmp_connect_print_v2(int cat, ndmp_session_info_t *si) argument
418 if (cat & NDMP_CAT_SCSI)
420 if (cat & NDMP_CAT_TAPE)
422 if (cat & NDMP_CAT_MOVER)
424 if (cat & NDMP_CAT_DATA)
701 ndmp_connect_print_v3(int cat, ndmp_session_info_t *si) argument
703 if (cat & NDMP_CAT_SCSI)
705 if (cat & NDMP_CAT_TAPE)
707 if (cat & NDMP_CAT_MOVER)
709 if (cat
718 ndmp_connection_print(int cat, ndmp_session_info_t *si) argument
740 ndmp_session_all_print(int cat, ndmp_session_info_t *si, size_t num) argument
762 ndmp_session_print(int cat, ndmp_session_info_t *si) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_string.c101 char *cat; local
114 cat = (char *)calloc(1, len * sizeof (char));
116 if (cat == NULL) {
125 strcat(cat, str);
130 return (cat);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgtxt.c79 * setcat(cat): Specify the default catalogue.
83 setcat(const char *cat) argument
86 if (cat) {
87 if (((strchr(cat, '/') != NULL)) ||
88 ((strchr(cat, ':') != NULL))) {
92 (void) strncpy(cur_cat, cat, sizeof (cur_cat) - 1);
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c56 static int cat(FILE *, struct stat *, struct stat *, char *);
90 * discard arguments until we find cat.
93 argc = getargv("cat", &argv, 0);
97 * Process the options for cat.
193 gettext("usage: cat [ -usvtebn ] [-|file] ...\n"));
204 gettext("cat: Cannot stat stdout\n"));
243 "cat: cannot open %s: %s\n"),
257 gettext("cat: cannot stat %s: %s\n"),
276 gettext("cat: input/output files '%s' identical\n"),
280 gettext("cat
329 cat(FILE *fi, struct stat *statp, struct stat *outp, char *filenm) function
[all...]
/illumos-gate/usr/src/cmd/tput/
H A Dtput.c71 static void cat(char *file);
551 cat(file) function
719 cat(reset_file);
721 cat(init_file);
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c365 dsym_get_cat_by_name(const char *cat, dsym_cat_t **entry, boolean_t cs) argument
379 result = strncmp(cat, cats[i].dc_string, len);
381 result = strncasecmp(cat, cats[i].dc_string, len);
396 const char *ptr = cat + entryp->dc_minlen;
430 dsym_parse_cat(const char *field, dsym_category_t *cat) argument
444 *cat = entry->dc_id;
491 dsym_validate_code(dsym_category_t cat, ushort_t code) argument
502 if (cat == cats[i].dc_id) {
843 dsym_get_cat_id(const char *cat, dsym_category_t *id, boolean_t cs) argument
849 ret = dsym_get_cat_by_name(cat,
869 dsym_get_code_ranges(const char *cat, ushort_t *min, ushort_t *max, boolean_t cs) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c573 cat(struct name *n1, struct name *n2) function
/illumos-gate/usr/src/cmd/gencat/
H A Dgencat.c445 cat_ok(cat)
446 char *cat;
456 set = (struct _cat_set_hdr *) cat;
474 msg = (struct _cat_msg_hdr *) (cat + hdr.__msg_hdr_offset) +
496 initcat(cat)
497 char *cat;
504 set = (struct _cat_set_hdr *) cat;
510 msg = (struct _cat_msg_hdr *) (cat + hdr.__msg_hdr_offset)
515 cat + hdr.__msg_text_offset + msg->__msg_offset);
529 char *cat; local
1039 char *cat; local
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A Drun.c722 cat(NODE **a, int q) function
738 error(FATAL, "out of space in cat");
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h153 L_DECL(cat); variable
/illumos-gate/usr/src/cmd/awk/
H A Drun.c1122 cat(Node **a, int q) function
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c576 int cat; local
589 for (cat = 0; cat <= _LastCategory; cat++) {
590 if (setlocale(cat, loc) != NULL) {
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c83 static char *cat(char *, char *);
246 dp->sd_name = savestr(cat(name, fp->fname));
294 if (gstat(fp, cat(dir, dp->d_name), Fflg+Rflg, &nb) == 0)
582 cat(char *dir, char *file) function
/illumos-gate/usr/src/uts/common/os/
H A Dexacct.c1648 ea_catalog_t cat; local
1664 cat = EXT_RAW | EXC_DEFAULT | EXD_TASK_TAG;
1666 cat = EXT_EXACCT_OBJECT | EXC_DEFAULT | EXD_TASK_TAG;
1667 (void) ea_attach_item(tag, ubuf, ubufsz, cat);
1699 ea_catalog_t cat; local
1717 cat = EXT_RAW | EXC_DEFAULT | EXD_PROC_TAG;
1719 cat = EXT_EXACCT_OBJECT | EXC_DEFAULT | EXD_PROC_TAG;
1720 (void) ea_attach_item(tag, ubuf, ubufsz, cat);

Completed in 95 milliseconds

12