cstr
cmatch(char *comm, char *cstr)
return (regex(cstr,xcomm) ? 1 : 0);
char *cstr;
cstr = to_lowercase(cstrbuf);
if ((strcmp(cstr, "-channel") != 0) &&
(strcmp(cstr, "-chan") != 0) &&
(strcoll(cstr, lib_chan) != 0)) {
delete cstr;
delete cstr;
cstr = to_lowercase(cstrbuf);
if ((strcmp(cstr, "mono") == 0) ||
(strcmp(cstr, "monaural") == 0) ||
(strcoll(cstr, lib_mono) == 0)) {
} else if ((strcmp(cstr, "stereo") == 0) ||
(strcmp(cstr, "dual") == 0) ||
(strcoll(cstr, lib_stereo) == 0)) {
} else if ((strcmp(cstr, "quad") == 0) ||
(strcmp(cstr, "quadrophonic") == 0)) {
delete cstr;
delete cstr;
const char *cstr;
if ((cstr = script_getenv("IF_AND_SERVICE")) == NULL ||
(str = strdup(cstr)) == NULL) {
(void) cstr(token, 1, SSIZE); /* skip the definition too */
if (cstr(token, 1, SSIZE))
if (cstr(token, 0, SSIZE))
char *cstr = NULL;
if (topo_fmri_nvl2str(thp, fmri, &cstr, err) != 0) {
if (nvlist_lookup_uint64(g_topo2diskmon, cstr, &u64val) == 0) {
*str = dstrdup(cstr);
topo_hdl_strfree(thp, cstr);
char *cstr = NULL;
if ((p = fmri2ptr(thp, node, &cstr, &err)) != NULL) {
wdp->pfmri = cstr;
if (cstr)
dstrfree(cstr);
if (cstr != NULL) {
if (nvlist_add_uint64(g_topo2diskmon, cstr,
"for `%s'!\n", cstr);
wdp->pfmri = cstr;
char *cstr; /* Ptr to -c (class) arg */
cstr = optarg;
(strcmp(cstr, class_info->keyword)) ;
"Invalid class: %s", cstr);
char *cstr = access_list;
if ((cstr = strpbrk(cstr, "[:")) != NULL) {
if (*cstr == ':') {
*cstr = '\0';
assert(*cstr == '[');
cstr = strchr(cstr + 1, ']');
if (cstr == NULL)
cstr++;
if (cstr == NULL)
gr = ++cstr;
char *cstr;
cstr = strdup(cfgstr);
if (cstr == NULL)
swcfg = _nsw_getoneconfig_v1(dbn, cstr, &err);
free(cstr);
get_cstr(str *p_str, cstr *p_cstr_res)
static int get_cstr(str *p_str, cstr *p_cstr_res);
cstr fcal_leds; /* path name of leds board */
cstr fcal_status; /* path of back-plane status board */
cstr fcal_driver; /* name of fcal disk driver */
cstr fcal_disk_parent; /* search string for /platform */
cstr disk_unit_parent; /* search template for disk-slots */
cstr disk_led_nodes; /* search template for disk-leds */
cstr tok_str;
char *ustr, *cstr;
cstr = strrchr(cfg_rec->pathname, '/');
cstr - cfg_rec->pathname)) == 0);
const char *cstr, *cset;
for (cstr = str; *cstr != '\0'; KRB5_UTF8_INCR(cstr)) {
if (krb5int_utf8_to_ucs4(cstr, &chstr) == 0
return cstr - str;
return cstr - str;
const char *cstr, *cset;
for (cstr = str; *cstr != '\0'; KRB5_UTF8_INCR(cstr)) {
return cstr - str;
if (krb5int_utf8_to_ucs4(cstr, &chstr) == 0
return cstr - str;
str_append(str_t *s, const char *cstr, size_t cstrlen)
if (cstr != NULL && cstrlen == 0)
cstrlen = strlen(cstr);
.str_s = (char *)cstr,
str_insert(str_t *s, size_t idx, const char *cstr, size_t cstrlen)
if (cstr == NULL)
cstrlen = strlen(cstr);
.str_s = (char *)cstr,
str_set(str_t *s, const char *cstr, size_t len)
s->str_s = (char *)cstr;
s->str_len = (len == 0 && cstr != NULL) ? strlen(cstr) : len;
const char *cstr;
cstr = (*jenv)->GetStringUTFChars(jenv, jstr, 0);
if (cstr) {
(void) printf("%s\n", cstr);
(*jenv)->ReleaseStringUTFChars(jenv, jstr, cstr);
static const char cstr[] = "cnonce";
if (lstreqcase(cstr, attr, alen)) {
char *str, *cstr, commentSep[3] = {' ', 0, 0};
cstr = (char *)val->val->value + val->val->length;
for (; cstr >= (char *)val->val->value &&
(*cstr == ' ' || *cstr == '\t'); *cstr-- = '\0');
cstr = scat(myself, F, commentSep, str);
if (cstr) {
val->val->value, cstr);
sfree(cstr);
struct _m_cstr *cstr; /* Pointer to collating strs */
char *cstr = access_list, *gr = access_list;
if ((cstr = strpbrk(cstr, "[]:")) != NULL) {
switch (*cstr) {
cstr++;
cstr++;
*cstr = '\0';
if (cstr == NULL)
gr = ++cstr;
if (cstr == NULL)
gr = ++cstr;
if (cstr == NULL)
gr = ++cstr;
prom_printf(cstr);
static char cstr[] = "\014" "\033[1P" "\033[18;21H";
cstr data[NSTRINGS];
check_esc_sequences(char *str, char *cstr)
for (i = 0; i < len; i++, str++, cstr++) {
*cstr = *str;
*cstr = ' ';
*cstr = *str;
*cstr = 0;
static char cstr[] = "\014" "\033[1P" "\033[18;21H";
prom_printf(cstr);
static char cstr[] = "\014" "\033[1P" "\033[18;21H";
prom_printf(cstr);
static char cstr[] = "\014" "\033[1P" "\033[18;21H";
prom_printf(cstr);
static char cstr[] = "\014" "\033[1P" "\033[18;21H";
prom_printf(cstr);