/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | cf.c | 14 SM_RCSID("@(#)$Id: cf.c,v 8.18.2.1 2002/09/24 21:48:23 ca Exp $") 18 ** GETCFNAME -- return the name of the .cf file to use. 22 ** For others: returns submit.cf or sendmail.cf depending 28 ** cftype -- may request a certain cf file. 32 ** name of .cf file. 57 static char cf[MAXPATHLEN]; local 61 "submit.cf", '\0'); 63 (void) sm_strlcpy(cf, cflocation, sizeof cf); [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | string.c | 82 cf(unsigned char *s1, unsigned char *s2) function
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | misc.c | 81 char *cf; local 83 cf = startd_alloc(max_scf_fmri_size); 92 if (strlcpy(cf, fmri, max_scf_fmri_size) >= max_scf_fmri_size || 93 scf_parse_svc_fmri(cf, NULL, NULL, &instance, &pg, 95 startd_free(cf, max_scf_fmri_size); 100 startd_free(cf, max_scf_fmri_size); 105 if (scf_canonify_fmri(fmri, cf, max_scf_fmri_size) < 0) { 106 startd_free(cf, max_scf_fmri_size); 110 *retp = cf;
|
/illumos-gate/usr/src/man/man4/ |
H A D | Makefile | 111 mddb.cf.4 \ 165 rdc.cf.4 \ 235 md.cf.4 \ 242 sendmail.cf.4 \ 244 submit.cf.4 \ 286 md.cf.4 := LINKSRC = md.tab.4 292 sendmail.cf.4 := LINKSRC = sendmail.4 293 submit.cf.4 := LINKSRC = sendmail.4
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | conf.c | 117 grow_conf_file(conf_t *cf) argument 119 int ndsize = cf->cf_dsize ? cf->cf_dsize * CF_GROW : CF_DEFSIZE; 120 void *ndtab = realloc(cf->cf_dtab, sizeof (char *) * ndsize); 130 lines = ndsize - cf->cf_dsize; 131 odsize = cf->cf_dsize; 133 cf->cf_dtab = (char **)ndtab; 134 cf->cf_dsize = ndsize; 142 cf->cf_dtab[odsize + i] = p; 149 conf_open(conf_t *cf, cons argument 192 conf_rewind(conf_t *cf) argument 198 conf_read(conf_t *cf) argument 207 conf_close(conf_t *cf) argument [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 48 static int audit_crontab_get_diffs(char *cf, char *tmp_name, 153 * cf - name of crontab file 167 audit_crontab_get_diffs(char *cf, char *tmp_name, char **bufptr) argument 182 if (stat(cf, &st) == -1) { 189 cf, strerror(errno));
|
/illumos-gate/usr/src/psm/stand/cpr/common/ |
H A D | support.c | 47 struct cprconfig cf; local 49 if (cpr_fs_read(fd, (char *)&cf, sizeof (cf)) != sizeof (cf) || 50 cf.cf_magic != CPR_CONFIG_MAGIC) 53 (void) prom_strcpy(file_path, cf.cf_path); 54 (void) prom_strcpy(fs_path, cf.cf_dev_prom); 55 if (cf.cf_type == CFT_ZVOL) 56 volname = cf.cf_fs;
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4ext.c | 74 FILE *cf = stdout; /* current output file */ variable
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 92 static int cf_expand_home_dir(CompleteFile *cf, const char *user); 93 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, 97 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, 101 static char *cf_read_name(CompleteFile *cf, const char *type, 104 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix, 112 CompleteFile *cf; /* The file-completion resource object */ member in struct:__anon4067 129 CompleteFile *cf; /* The object to be returned */ local 133 cf = (CompleteFile *) malloc(sizeof(CompleteFile)); 134 if(!cf) { 143 cf 191 _del_CompleteFile(CompleteFile *cf) argument 236 _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument 464 _cf_last_error(CompleteFile *cf) argument 481 cf_expand_home_dir(CompleteFile *cf, const char *user) argument 523 cf_complete_username(CompleteFile *cf, WordCompletion *cpl, const char *prefix, const char *line, int word_start, int word_end, int escaped) argument 561 CompleteFile *cf = args->cf; local 607 cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument 769 cf_read_name(CompleteFile *cf, const char *type, const char *string, int slen, char *nambuf, int nammax) argument 814 cf_prepare_suffix(CompleteFile *cf, const char *suffix, int add_escapes) argument [all...] |
H A D | cplmatch.c | 81 CompleteFile *cf; /* The resources used for filename completion */ member in struct:WordCompletion 191 cpl->cf = NULL; 225 cpl->cf = _new_CompleteFile(); 226 if(!cpl->cf) 249 cpl->cf = _del_CompleteFile(cpl->cf); 788 if(_cf_complete_file(cpl, cpl->cf, line, start_path - line, word_end, 790 cpl_record_error(cpl, _cf_last_error(cpl->cf));
|
/illumos-gate/usr/src/cmd/power/ |
H A D | sys-suspend.c | 778 struct cprconfig cf; local 787 if (read(fd, (void *) &cf, sizeof (cf)) != sizeof (cf)) { 790 found = cf.is_autopm_default;
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 110 cleanup(char ***files, char **cf) argument 123 if (*cf != NULL) { 124 free(*cf); 125 *cf = NULL; 130 parse_cf(papi_service_t svc, char *cf, char **files) argument 138 for (entry = strtok(cf, "\n"); entry != NULL; 343 "Warning: cf message (%s) ignored", 352 "Warning: cf message (%s) ignored", entry); 370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, argument 378 if ((list = parse_cf(svc, cf, file 493 char *cf = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | crontab.c | 105 char *cf; variable 229 cf = xmalloc(strlen(CRONDIR)+strlen(login)+2); 230 strcat(strcat(strcpy(cf, CRONDIR), "/"), login); 233 r = unlink(cf); 235 audit_crontab_delete(cf, r); 239 if ((fp = fopen(cf, "r")) == NULL) 247 if ((fp = fopen(cf, "r")) == NULL) { 511 audit_crontab_modify(cf, tnam, err); 515 unlink(cf); 516 if (link(tnam, cf) [all...] |
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | preenlib.c | 267 int (*cf)(), /* candidate choosing function */ 291 if (cf == NULL) 292 cf = chooseone; 293 drvid = alloc_driver(dname, cf, datap); 323 alloc_driver(char *name, int (*cf)(), void *datap) argument 347 dp->choosefunc = cf; 264 preen_addunit( void *cookie, char *dname, int (*cf)(), void *datap, uint_t unit) argument
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_impl.h | 209 cfp_t cf[2]; /* local & optional cluster file */ member in struct:cfgfile
|
H A D | cfg.c | 456 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { 484 if (cfp >= &cfg->cf[2]) { 768 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { 799 if (cfp >= &cfg->cf[2]) { 861 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { 892 if (cfp >= &cfg->cf[2]) { 974 cfg->cf[ 2668 cfgheader_t *cf; local [all...] |
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_misc.c | 177 struct cprconfig *cf = &cprconfig; local 191 err = cpr_rdwr(UIO_READ, vp, cf, sizeof (*cf)); 199 if (cf->cf_magic == CPR_CONFIG_MAGIC) 219 struct cprconfig *cf = &cprconfig; local 225 (void) strcpy(full_path, cf->cf_fs); 226 if (strcmp(cf->cf_fs, "/")) 228 ptr = cf->cf_path; 251 struct cprconfig *cf = &cprconfig; local 279 switch (cf 1020 struct cprconfig *cf = &cprconfig; local 1054 struct cprconfig *cf = &cprconfig; local [all...] |
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.c | 1310 int cf = 0; /* carry flag */ local 1316 result = cf + bv->v[i] + ((val >> (i * 8)) & 0xff); 1318 result = cf + bv->v[i]; 1320 cf = (result >> 8) & 1; 1324 if (cf) {
|
/illumos-gate/usr/src/uts/common/io/atu/ |
H A D | atu.c | 80 usb_cb_flags_t cf; local 96 &req, &mp, &cr, &cf, 0); 109 &req, &mp, &cr, &cf, 0);
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_ses.c | 223 SesCfgHdr cf; local 259 if (ses_cfghdr((uchar_t *)sdata, amt, &cf)) { 271 cf.GenCode, cf.Nsubenc); 281 maxima = cf.Nsubenc + 1;
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/ |
H A D | usb_as.c | 1675 usb_cb_flags_t cf; local 1690 &cr, &cf, 0) != USB_SUCCESS) { 1694 bRequest, cr, cf);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 1815 int cf; local 1817 for (cf = curf+2; cf < nf; cf++) { 1818 tmp = scanMappingFormat(f, cf, nf, tmp, 0, 1983 int cf; local 1985 for (cf = curf+2; cf < nf; cf++) { 1986 tmp = scanMappingFormat(f, cf, n [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 764 FILE *cf; local 768 if ((cf = fopen(cfile, "w+")) == NULL) { 773 (void) fprintf(cf, "#include <stdio.h>\n"); 774 (void) fprintf(cf, "int main(int argc, char **argv) {\n"); 775 (void) fprintf(cf, "#if defined(__SUNPRO_C)\n"); 776 (void) fprintf(cf, "exit(51);\n"); 777 (void) fprintf(cf, "#elif defined(__GNUC__)\n"); 778 (void) fprintf(cf, "exit(52);\n"); 779 (void) fprintf(cf, "#else\n"); 780 (void) fprintf(cf, "exi [all...] |
/illumos-gate/usr/src/uts/common/io/rum/ |
H A D | rum.c | 310 usb_cb_flags_t cf; local 324 &cr, &cf, 0); 329 "cr:%s(%d), cf:(%x)\n", 330 usb_str_cr(cr), cr, cf); 353 usb_cb_flags_t cf; local 374 &cr, &cf, 0); 379 "cr:%s(%d), cf:(%x)\n", 380 usb_str_cr(cr), cr, cf); 401 usb_cb_flags_t cf; local 426 &cr, &cf, 446 usb_cb_flags_t cf; local [all...] |
/illumos-gate/usr/src/uts/common/io/ural/ |
H A D | ural.c | 314 usb_cb_flags_t cf; local 328 &cr, &cf, 0); 333 " cr:%s(%d), cf:(%x)\n", 334 usb_str_cr(cr), cr, cf); 351 usb_cb_flags_t cf; local 365 &cr, &cf, 0); 370 "cr:%s(%d), cf:(%x)\n", 371 usb_str_cr(cr), cr, cf); 386 usb_cb_flags_t cf; local 398 &cr, &cf, 861 usb_cb_flags_t cf; local 888 usb_cb_flags_t cf; local [all...] |